Notes in Matrix4 about using std::copy
Not entirely sure what it does, but it's standard C++… :shrugs:
This commit is contained in:
parent
10195c607c
commit
d518d282d4
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,7 @@ Matrix4::Matrix4()
|
|||
Matrix4::Matrix4(const Double data[16])
|
||||
: mTransposed(false)
|
||||
{
|
||||
/* TODO: Replace with std::copy */
|
||||
memcpy(mData, data, sizeof(Double) * 16);
|
||||
}
|
||||
|
||||
|
@ -111,6 +112,7 @@ Matrix4::Matrix4(const Matrix4 &rhs)
|
|||
Matrix4&
|
||||
Matrix4::operator=(const Matrix4 &rhs)
|
||||
{
|
||||
/* TODO: Replace with std::copy */
|
||||
memcpy(mData, rhs.mData, sizeof(Double) * 16);
|
||||
mTransposed = rhs.mTransposed;
|
||||
return *this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue