src/types.h

changeset 270
f5f2353af0d9
parent 268
778eed342ee4
child 271
d5ec224c1879
equal deleted inserted replaced
269:2d71227f35cb 270:f5f2353af0d9
99 const double& y () const { return m_coords[Y]; } 99 const double& y () const { return m_coords[Y]; }
100 double& z () { return m_coords[Z]; } 100 double& z () { return m_coords[Z]; }
101 const double& z () const { return m_coords[Z]; } 101 const double& z () const { return m_coords[Z]; }
102 102
103 vertex& operator+= (const vertex& other); 103 vertex& operator+= (const vertex& other);
104 vertex& operator+ (const vertex& other) const; 104 vertex operator+ (const vertex& other) const;
105 vertex operator/ (const double d) const; 105 vertex operator/ (const double d) const;
106 vertex& operator/= (const double d); 106 vertex& operator/= (const double d);
107 bool operator== (const vertex& other) const; 107 bool operator== (const vertex& other) const;
108 bool operator!= (const vertex& other) const; 108 bool operator!= (const vertex& other) const;
109 vertex operator- () const; 109 vertex operator- () const;

mercurial