Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 600 vs 640 for /trunk/Source Code/Core/Math/BoundingVolumes/Headers/BoundingBox.inl

Diff revisions: vs.
  @@ -176,17 +176,33 @@
176 176 set(bb._min, bb._max);
177 177 }
178 178
179 + inline void BoundingBox::set(F32 min, F32 max) {
180 + _min.set(min);
181 + _max.set(max);
182 + _pointsDirty = true;
183 + }
184 +
179 185 inline void BoundingBox::set(F32 minX, F32 minY, F32 minZ, F32 maxX, F32 maxY, F32 maxZ) {
180 186 _min.set(minX, minY, minZ);
181 187 _max.set(maxX, maxY, maxZ);
182 188 _pointsDirty = true;
183 189 }
184 190
191 + inline void BoundingBox::setMin(F32 min) {
192 + _min.set(min);
193 + _pointsDirty = true;
194 + }
195 +
185 196 inline void BoundingBox::setMin(F32 minX, F32 minY, F32 minZ) {
186 197 _min.set(minX, minY, minZ);
187 198 _pointsDirty = true;
188 199 }
189 200
201 + inline void BoundingBox::setMax(F32 max) {
202 + _max.set(max);
203 + _pointsDirty = true;
204 + }
205 +
190 206 inline void BoundingBox::setMax(F32 maxX, F32 maxY, F32 maxZ) {
191 207 _max.set(maxX, maxY, maxZ);
192 208 _pointsDirty = true;