Whoopsies
This commit is contained in:
parent
b63cdc6632
commit
08054af027
@ -521,7 +521,7 @@ namespace Components
|
||||
const_cast<char*>("Disabled"),
|
||||
const_cast<char*>("Scene Models"),
|
||||
const_cast<char*>("Scene Dynamic Objects"),
|
||||
const_cast<char*>("GfxWorld Static Models")
|
||||
const_cast<char*>("GfxWorld Static Models"),
|
||||
nullptr
|
||||
};
|
||||
|
||||
|
@ -152,7 +152,7 @@ namespace Utils
|
||||
|
||||
float Vec3SqrDistance(float(*v1)[3], float(*v2)[3])
|
||||
{
|
||||
return (std::pow((*v2)[0] - (*v1)[0], 2) + std::pow((*v2)[1] - (*v1)[1], 2) + std::pow((*v2)[2] - (*v1)[2], 2));
|
||||
return static_cast<float>(std::pow((*v2)[0] - (*v1)[0], 2) + std::pow((*v2)[1] - (*v1)[1], 2) + std::pow((*v2)[2] - (*v1)[2], 2));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user