mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 05:20:31 +00:00
Various misc. tweaks and fixes based on static code analysis to minimize/fix memleaks, crashes, or other performance impacting code.
This commit is contained in:
parent
d76c73c252
commit
8956559bfd
44 changed files with 124 additions and 258 deletions
|
|
@ -98,7 +98,7 @@ struct PolyhedronData
|
|||
/// it defines a *clockwise* orientation for face[ 0 ]. This is important!
|
||||
U32 vertex[ 2 ];
|
||||
|
||||
Edge() { std::fill_n(face, 2, 0), std::fill_n(vertex, 0, 0); }
|
||||
Edge() { std::fill_n(face, 2, 0), std::fill_n(vertex, 2, 0); }
|
||||
Edge( U32 face1, U32 face2, U32 vertex1, U32 vertex2 )
|
||||
{
|
||||
face[ 0 ] = face1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue