working crafter math
This commit is contained in:
parent
84099f07ed
commit
809617e6c4
4 changed files with 21 additions and 20 deletions
|
|
@ -10,9 +10,10 @@ import Crafter.Math;
|
|||
namespace Crafter {
|
||||
export class Camera : public Component {
|
||||
public:
|
||||
Matrix<float, 4, 4, 1> projection;
|
||||
Matrix<float, 4, 4, 1> view;
|
||||
Matrix<float, 4, 4, 1> projectionView;
|
||||
MatrixRowMajor<float, 4, 4, 1> projection;
|
||||
MatrixRowMajor<float, 4, 4, 1> view;
|
||||
MatrixRowMajor<float, 4, 4, 1> projectionView;
|
||||
Camera(float fov, float aspectRatio, float near, float far);
|
||||
void Update();
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue