Skip to content
Snippets Groups Projects
Commit 7ba25a31 authored by Laurent Van Migroet's avatar Laurent Van Migroet
Browse files

warning remove msvc getAxis should return a value

parent 67634030
No related branches found
No related tags found
No related merge requests found
...@@ -156,10 +156,11 @@ SVector3 SOrientedBoundingBox::getAxis(int axis) ...@@ -156,10 +156,11 @@ SVector3 SOrientedBoundingBox::getAxis(int axis)
{ {
SVector3 ret; SVector3 ret;
switch (axis) { switch (axis) {
case 0: return axisX; case 0: ret=axisX;
case 1: return axisY; case 1: ret=axisY;
case 2: return axisZ; case 2: ret=axisZ;
} }
return ret;
} }
bool SOrientedBoundingBox::intersects(SOrientedBoundingBox& obb) bool SOrientedBoundingBox::intersects(SOrientedBoundingBox& obb)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment