Changed: Multiple const additions.
This commit is contained in:
@@ -347,7 +347,7 @@ u8 Mesh::isInFrustum(Plane *t_frustumPlanes)
|
|||||||
{
|
{
|
||||||
Vector3 boxCalcTemp;
|
Vector3 boxCalcTemp;
|
||||||
u8 boxResult = 1, boxIn = 0, boxOut = 0;
|
u8 boxResult = 1, boxIn = 0, boxOut = 0;
|
||||||
Vector3 *currentBoundingBox = getCurrentBoundingBox();
|
const Vector3 *currentBoundingBox = getCurrentBoundingBoxVertices();
|
||||||
for (int i = 0; i < 6; i++)
|
for (int i = 0; i < 6; i++)
|
||||||
{
|
{
|
||||||
boxOut = 0;
|
boxOut = 0;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ void Utils::getMinMax(const Mesh &t_mesh, Vector3 &t_min, Vector3 &t_max)
|
|||||||
{
|
{
|
||||||
Vector3 calc = Vector3();
|
Vector3 calc = Vector3();
|
||||||
u8 isInitialized = 0;
|
u8 isInitialized = 0;
|
||||||
Vector3 *boundingBox = t_mesh.getCurrentBoundingBox();
|
const Vector3 *boundingBox = t_mesh.getCurrentBoundingBoxVertices();
|
||||||
for (u32 i = 0; i < 8; i++)
|
for (u32 i = 0; i < 8; i++)
|
||||||
{
|
{
|
||||||
calc.set(
|
calc.set(
|
||||||
|
|||||||
Reference in New Issue
Block a user