[Issue 1652] New: problem with /// generating strange output

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 9 01:57:57 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1652

           Summary: problem with /// generating strange output
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ddoc
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: mrmocool at gmx.de


with the following code:
class Camera
{
private:
        vec3 m_pos;
        vec3 m_orth;
        vec3 m_vecf;
        vec3 m_vecx;
        vec3 m_vecy;
        reell m_angle;
        uint m_resx, m_resy;
        reell m_constx, m_consty;
public:
        this(ref vec3 origin, ref vec3 direction, ref vec3 normal, int angle,
uint resx, uint resy)
        {
                m_pos = origin;
                m_orth = normal;
                m_vecf = direction;
                m_angle = G2R(angle);
                m_resx = resx;
                m_resy = resy;
        }
        uint    resx()                  {return m_resx;}        /// resx
property
        void    resx(uint rhs)  {m_resx=rhs;}           /// ditto
        uint    resy()                  {return m_resy;}        /// resy
property
        void    resy(uint rhs)  {m_resy=rhs;}           /// ditto
        abstract void InitRay(reell x, reell y, inout Ray ray); /// initialize
a ray through (x,y) in the camera plane
}

I get the following documentation:

class Camera ; 
Camera baseclass 

this(ref vec3 origin, ref vec3 direction, ref vec3 normal, int angle, uint
resx, uint resy); 
initialize a ray through (x,y) in the camera plane 

uint resx (); 
resx property 

initialize a ray through (x,y) in the camera plane 

initialize a ray through (x,y) in the camera plane 

void resx (uint rhs); 
ditto 

initialize a ray through (x,y) in the camera plane 

initialize a ray through (x,y) in the camera plane 

uint resy (); 
resy property 

initialize a ray through (x,y) in the camera plane 

initialize a ray through (x,y) in the camera plane 

void resy (uint rhs); 
ditto 

initialize a ray through (x,y) in the camera plane 

initialize a ray through (x,y) in the camera plane 

abstract void InitRay (double x, double y, ref Ray ray); 
initialize a ray through (x,y) in the camera plane


-- 



More information about the Digitalmars-d-bugs mailing list