Adding code
This commit is contained in:
18
include/J3ML/LinearAlgebra/Matrix2x2.h
Normal file
18
include/J3ML/LinearAlgebra/Matrix2x2.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <J3ML/LinearAlgebra/Vector2.h>
|
||||
|
||||
namespace LinearAlgebra {
|
||||
class Matrix2x2 {
|
||||
public:
|
||||
static const Matrix2x2 Zero;
|
||||
static const Matrix2x2 Identity;
|
||||
static const Matrix2x2 NaN;
|
||||
|
||||
Vector2 GetRow() const;
|
||||
Vector2 GetColumn() const;
|
||||
|
||||
protected:
|
||||
float elems[2][2];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user