Added static Create methods for POD types, eliminated warnings, added CMake macros for Kraken public header export

This commit is contained in:
2018-07-27 00:05:59 -07:00
parent fe16af07f1
commit 759b7af066
7 changed files with 66 additions and 19 deletions

View File

@@ -261,7 +261,7 @@ bool AABB::intersectsRay(const Vector3 &v1, const Vector3 &dir) const
maxT.init();
Vector3 coord;
coord.init();
double candidatePlane[3];
float candidatePlane[3];
// Find candidate planes; this loop can be avoided if rays cast all from the eye(assume perpsective view)
for (int i=0; i<3; i++)