mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Added many comments, and changed function names for wrapper functions.
This commit is contained in:
@@ -21,12 +21,9 @@
|
||||
#include "Matrix.h"
|
||||
|
||||
// STD
|
||||
#include <cstring>
|
||||
#include <cstring> // memcpy
|
||||
#include <cmath>
|
||||
|
||||
// LOVE
|
||||
#include "Vector.h"
|
||||
|
||||
namespace love
|
||||
{
|
||||
|
||||
@@ -80,7 +77,7 @@ namespace love
|
||||
return t;
|
||||
}
|
||||
|
||||
void Matrix::operator *= (const Matrix & m) const
|
||||
void Matrix::operator *= (const Matrix & m)
|
||||
{
|
||||
Matrix t = (*this) * m;
|
||||
memcpy((void*)this->e, (void*)t.e, sizeof(float)*16);
|
||||
|
||||
Reference in New Issue
Block a user