improved docs
This commit is contained in:
parent
c8f1c90f9c
commit
dfe9b1abe9
16 changed files with 315 additions and 40 deletions
|
|
@ -28,6 +28,9 @@ import Crafter.Math;
|
|||
import Crafter.Event;
|
||||
|
||||
namespace Crafter {
|
||||
/**
|
||||
* @brief Camera with projection and view matrices.
|
||||
*/
|
||||
export class Camera {
|
||||
public:
|
||||
MatrixRowMajor<float, 4, 4, 1> projection;
|
||||
|
|
@ -45,7 +48,7 @@ namespace Crafter {
|
|||
Camera(float fov, float aspectRatio, float near, float far);
|
||||
|
||||
/**
|
||||
* @brief calculates the projectionView matrix by multiplying the projection and view matricies.
|
||||
* @brief Calculates the projectionView matrix by multiplying the projection and view matricies.
|
||||
*/
|
||||
void Update();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue