mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 08:15:44 +00:00
uninitialized variables-math
This commit is contained in:
parent
5f59ebbacc
commit
ebb7ed1b78
13 changed files with 32 additions and 19 deletions
|
|
@ -98,7 +98,7 @@ struct PolyhedronData
|
|||
/// it defines a *clockwise* orientation for face[ 0 ]. This is important!
|
||||
U32 vertex[ 2 ];
|
||||
|
||||
Edge() {}
|
||||
Edge() { std::fill_n(face, 2, 0), std::fill_n(vertex, 0, 0); }
|
||||
Edge( U32 face1, U32 face2, U32 vertex1, U32 vertex2 )
|
||||
{
|
||||
face[ 0 ] = face1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue