Method | Description | |
---|---|---|
ControlCamera ( float dt, |
||
FreeCamera ( Vector3 c, float yaw, float pitch, float aspect = DEFAULT_ASPECT ) : System | ||
GetViewRay ( Vector2 screenPos, int ww, int wh ) : Microsoft.Xna.Framework.Ray | ||
UpdateProjection ( float aspect, float near = PROJ_NEAR, float far = PROJ_FAR ) : void | ||
UpdateView ( ) : void |
public ControlCamera ( float dt, |
||
dt | float | |
input | ||
vp | ||
return | void |
public FreeCamera ( Vector3 c, float yaw, float pitch, float aspect = DEFAULT_ASPECT ) : System | ||
c | Vector3 | |
yaw | float | |
pitch | float | |
aspect | float | |
return | System |
public GetViewRay ( Vector2 screenPos, int ww, int wh ) : Microsoft.Xna.Framework.Ray | ||
screenPos | Vector2 | |
ww | int | |
wh | int | |
return | Microsoft.Xna.Framework.Ray |
public UpdateProjection ( float aspect, float near = PROJ_NEAR, float far = PROJ_FAR ) : void | ||
aspect | float | |
near | float | |
far | float | |
return | void |