mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 19:43:49 +00:00
uninitialized variables-math
This commit is contained in:
parent
5f59ebbacc
commit
ebb7ed1b78
13 changed files with 32 additions and 19 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#ifndef _MMATRIX_H_
|
||||
#define _MMATRIX_H_
|
||||
|
||||
#include <algorithm>
|
||||
#ifndef _MPLANE_H_
|
||||
#include "math/mPlane.h"
|
||||
#endif
|
||||
|
|
@ -232,6 +232,8 @@ inline MatrixF::MatrixF(bool _identity)
|
|||
{
|
||||
if (_identity)
|
||||
identity();
|
||||
else
|
||||
std::fill_n(m, 16, 0);
|
||||
}
|
||||
|
||||
inline MatrixF::MatrixF( const EulerF &e )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue