Implement missing Matrix members
This commit is contained in:
@@ -1019,5 +1019,24 @@ namespace J3ML::LinearAlgebra {
|
||||
return true;
|
||||
}
|
||||
|
||||
void Matrix4x4::SetRotatePartX(float angleRadians) {
|
||||
Set3x3PartRotateX(*this, angleRadians);
|
||||
}
|
||||
|
||||
void Matrix4x4::SetRotatePartY(float angleRadians) {
|
||||
Set3x3PartRotateY(*this, angleRadians);
|
||||
}
|
||||
|
||||
void Matrix4x4::SetRotatePartZ(float angleRadians) {
|
||||
Set3x3PartRotateZ(*this, angleRadians);
|
||||
}
|
||||
|
||||
Matrix4x4::Matrix4x4(const Matrix3x3 &m) {
|
||||
Set(m.At(0,0), m.At(0,1), m.At(0,2), 0.f,
|
||||
m.At(1,0), m.At(1,1), m.At(1,2), 0.f,
|
||||
m.At(2,0), m.At(2,1), m.At(2,2), 0.f,
|
||||
0.f, 0.f, 0.f, 1.f);
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user