Méthode | Description | |
---|---|---|
Camera ( int fov, double near, double far ) : System |
Create a new Camera object.
|
|
ProjectVector ( int width, int height, Vector3 vector, |
Project a Vector3 onto a screen.
|
|
ProjectVector ( int width, int height, Vector4 vector, |
Project a Vector4 onto a screen.
|
public Camera ( int fov, double near, double far ) : System | ||
fov | int | The angle of the Field of View of the camera. |
near | double | The distance from the Camera to the near clipping plane. |
far | double | The distance from the Camera to the far clipping plane. |
Résultat | System |
public ProjectVector ( int width, int height, Vector3 vector, |
||
width | int | The width of the buffer that is being rendered to. |
height | int | The height of the buffer that is being rendered to. |
vector | Vector3 | The Vector3 to project. |
model | The model matrix of the object that is being rendered. | |
Résultat | Vector2 |
public ProjectVector ( int width, int height, Vector4 vector, |
||
width | int | The width of the buffer that is being rendered to. |
height | int | The height of the buffer that is being rendered to. |
vector | Vector4 | The Vector4 to project. |
model | The model matrix of the object that is being rendered. | |
Résultat | Vector2 |