1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00

0024875: Coding rules - eliminate GCC warning -Wstrict-aliasing in TKOpenGl

This commit is contained in:
kgv 2015-10-16 09:39:00 +03:00 committed by bugmaster
parent 1aec33207e
commit fe30607a18

View File

@ -167,7 +167,7 @@ OpenGl_TriangleSet::BVH_BoxNt OpenGl_TriangleSet::Box() const
aZ == 0 ? aBox.CornerMin().z() : aBox.CornerMax().z(),
1.f);
aTransformedBox.Add (reinterpret_cast<BVH_Vec3f&> (aCorner));
aTransformedBox.Add (aCorner.xyz());
}
}
}