Math/BoundingVolume: Fix compilation
Former-commit-id: 6717a9d8d92f05ba3e4ae3b088aef79f0a637736
This commit is contained in:
parent
b28ab414c9
commit
2b9dcb47c0
|
|
@ -134,7 +134,7 @@ namespace Nz
|
||||||
* \remark Extending to a null bounding volume has no effect while extending to a infinite bounding volume will set it as infinite
|
* \remark Extending to a null bounding volume has no effect while extending to a infinite bounding volume will set it as infinite
|
||||||
*/
|
*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
BoundingVolume<T>& BoundingVolume<T>::BoundingVolume<T>::ExtendTo(const BoundingVolume& volume)
|
BoundingVolume<T>& BoundingVolume<T>::ExtendTo(const BoundingVolume& volume)
|
||||||
{
|
{
|
||||||
switch (extend)
|
switch (extend)
|
||||||
{
|
{
|
||||||
|
|
@ -145,7 +145,7 @@ namespace Nz
|
||||||
case Extend_Finite:
|
case Extend_Finite:
|
||||||
{
|
{
|
||||||
// Extend the OBB local box
|
// Extend the OBB local box
|
||||||
obb.localBox.ExtendTo(volume.localBox);
|
obb.localBox.ExtendTo(volume.obb.localBox);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue