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:
parent
1aec33207e
commit
fe30607a18
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user