src/bbox.cpp

changeset 223
4f95d7f2e9ef
parent 188
4e686b771996
child 250
6e80f038e8df
equal deleted inserted replaced
222:fddd36a6526c 223:4f95d7f2e9ef
158 return vertex ( 158 return vertex (
159 (m_v0[X] + m_v1[X]) / 2, 159 (m_v0[X] + m_v1[X]) / 2,
160 (m_v0[Y] + m_v1[Y]) / 2, 160 (m_v0[Y] + m_v1[Y]) / 2,
161 (m_v0[Z] + m_v1[Z]) / 2); 161 (m_v0[Z] + m_v1[Z]) / 2);
162 } 162 }
163
164 // =============================================================================
165 bool bbox::empty() const {
166 return m_empty;
167 }

mercurial