Initialize POD types where previously relied on constructors
This commit is contained in:
@@ -258,7 +258,9 @@ bool AABB::intersectsRay(const Vector3 &v1, const Vector3 &dir) const
|
||||
|
||||
bool inside = true;
|
||||
Vector3 maxT;
|
||||
maxT.init();
|
||||
Vector3 coord;
|
||||
coord.init();
|
||||
double candidatePlane[3];
|
||||
|
||||
// Find candidate planes; this loop can be avoided if rays cast all from the eye(assume perpsective view)
|
||||
|
||||
Reference in New Issue
Block a user