mirror of
https://github.com/aap/librw.git
synced 2025-12-20 01:19:51 +00:00
made almost all classes POD
This commit is contained in:
@@ -288,8 +288,8 @@ Geometry::calculateBoundingSphere(void)
|
||||
{
|
||||
for(int32 i = 0; i < this->numMorphTargets; i++){
|
||||
MorphTarget *m = &this->morphTargets[i];
|
||||
V3d min( 1000000.0f, 1000000.0f, 1000000.0f);
|
||||
V3d max(-1000000.0f, -1000000.0f, -1000000.0f);
|
||||
V3d min { 1000000.0f, 1000000.0f, 1000000.0f };
|
||||
V3d max { -1000000.0f, -1000000.0f, -1000000.0f };
|
||||
float32 *v = m->vertices;
|
||||
for(int32 j = 0; j < this->numVertices; j++){
|
||||
if(v[0] > max.x) max.x = v[0];
|
||||
|
||||
Reference in New Issue
Block a user