src/types.h

changeset 219
70eb948a2b02
parent 198
f246725199dc
child 251
c4b96bc41298
equal deleted inserted replaced
218:2a65ad4972a8 219:70eb948a2b02
104 bool operator== (const vertex& other) const; 104 bool operator== (const vertex& other) const;
105 bool operator!= (const vertex& other) const; 105 bool operator!= (const vertex& other) const;
106 vertex operator- () const; 106 vertex operator- () const;
107 double& operator[] (const Axis ax); 107 double& operator[] (const Axis ax);
108 const double& operator[] (const Axis ax) const; 108 const double& operator[] (const Axis ax) const;
109 double& operator[] (const int ax);
110 const double& operator[] (const int ax) const;
109 111
110 private: 112 private:
111 double m_coords[3]; 113 double m_coords[3];
112 }; 114 };
113 115

mercurial