src/types.cpp

changeset 498
791c831c8020
parent 497
c51941e590b6
child 504
6a1fa662bfc1
equal deleted inserted replaced
497:c51941e590b6 498:791c831c8020
101 } 101 }
102 102
103 // ============================================================================= 103 // =============================================================================
104 // ----------------------------------------------------------------------------- 104 // -----------------------------------------------------------------------------
105 double& vertex::operator[] (const Axis ax) 105 double& vertex::operator[] (const Axis ax)
106 { return coord ( (ushort) ax); 106 { return coord ( (int) ax);
107 } 107 }
108 108
109 const double& vertex::operator[] (const Axis ax) const 109 const double& vertex::operator[] (const Axis ax) const
110 { return coord ( (ushort) ax); 110 { return coord ( (int) ax);
111 } 111 }
112 112
113 double& vertex::operator[] (const int ax) 113 double& vertex::operator[] (const int ax)
114 { return coord (ax); 114 { return coord (ax);
115 } 115 }

mercurial