Manually initialize Vector4 instead of using bzero
This commit is contained in:
parent
df5e4fe049
commit
6706623d6f
1 changed files with 2 additions and 3 deletions
|
@ -22,9 +22,8 @@ namespace basics {
|
|||
* charles::basics::Vector4::Vector4 --
|
||||
*/
|
||||
Vector4::Vector4()
|
||||
{
|
||||
bzero(mData, sizeof(Double) * 4);
|
||||
}
|
||||
: Vector4(0, 0, 0)
|
||||
{ }
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue