- create a renderer backend based on softpoly's drawers
This commit is contained in:
parent
8a90946094
commit
0eda298db2
21 changed files with 1317 additions and 9 deletions
|
|
@ -42,7 +42,7 @@ Mat4f Mat4f::Identity()
|
|||
return m;
|
||||
}
|
||||
|
||||
Mat4f Mat4f::FromValues(float *matrix)
|
||||
Mat4f Mat4f::FromValues(const float *matrix)
|
||||
{
|
||||
Mat4f m;
|
||||
memcpy(m.Matrix, matrix, sizeof(m.Matrix));
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ class Mat4f
|
|||
public:
|
||||
static Mat4f Null();
|
||||
static Mat4f Identity();
|
||||
static Mat4f FromValues(float *matrix);
|
||||
static Mat4f FromValues(const float *matrix);
|
||||
static Mat4f Transpose(const Mat4f &matrix);
|
||||
static Mat4f Translate(float x, float y, float z);
|
||||
static Mat4f Scale(float x, float y, float z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue