Méthode | Description | |
---|---|---|
AdjustAlignment ( double &Source, double Direction, double &Speed, double TimeElapsed ) : void | ||
AdjustAlignment ( double &Source, double Direction, double &Speed, double TimeElapsed, bool Zoom ) : void | ||
ApplyZoom ( ) : void | ||
CreateNormals ( Mesh &Mesh ) : void |
Generates the default lighting normals for a mesh
|
|
CreateNormals ( Mesh &Mesh, int FaceIndex ) : void | ||
Cross ( OpenBveApi.Math.Vector3D A, OpenBveApi.Math.Vector3D B ) : |
||
Cross ( Vector3 a, Vector3 b, Vector3 &c ) : void |
Creates the cross product of two vectors
|
|
Cross ( double ax, double ay, double az, double bx, double by, double bz, double &cx, double &cy, double &cz ) : void | ||
GetGlowAttenuationData ( double HalfDistance, GlowAttenuationMode Mode ) : ushort |
Creates glow attenuation data from a half distance and a mode. The resulting value can be later passed to SplitGlowAttenuationData in order to reconstruct the parameters.
|
|
InitializeCameraRestriction ( ) : void | ||
Normalize ( double &x, double &y ) : void | ||
Normalize ( double &x, double &y, double &z ) : void | ||
PerformBoundingBoxTest ( |
Checks whether the camera can move in the selected direction, due to a bounding box.
|
|
PerformCameraRestrictionTest ( ) : bool | ||
PerformProgressiveAdjustmentForCameraRestriction ( double &Source, double Target, bool Zoom ) : bool | ||
Rotate ( Vector2 &Vector, double cosa, double sina ) : void |
Rotates a 2D vector
|
|
Rotate ( Vector2D &Vector, double cosa, double sina ) : void | ||
Rotate ( Vector3 &p, Vector3 d, double cosa, double sina ) : void |
Rotates a vector
|
|
Rotate ( Vector3 &p, double dx, double dy, double dz, double cosa, double sina ) : void |
Rotates one vector based upon a second vector, input as induvidual co-ordinates
|
|
Rotate ( double &px, double &py, double &pz, Transformation t ) : void | ||
Rotate ( double &px, double &py, double &pz, double dx, double dy, double dz, double cosa, double sina ) : void | ||
Rotate ( double &px, double &py, double &pz, double dx, double dy, double dz, double ux, double uy, double uz, double sx, double sy, double sz ) : void | ||
Rotate ( float &px, float &py, float &pz, Transformation t ) : void | ||
Rotate ( float &px, float &py, float &pz, double dx, double dy, double dz, double cosa, double sina ) : void | ||
Rotate ( float &px, float &py, float &pz, double dx, double dy, double dz, double ux, double uy, double uz, double sx, double sy, double sz ) : void | ||
RotatePlane ( Vector3 &Vector, double cosa, double sina ) : void | ||
RotatePlane ( OpenBveApi.Math.Vector3D &Vector, double cosa, double sina ) : void | ||
RotatePlane ( Vector3Df &Vector, double cosa, double sina ) : void | ||
RotateUpDown ( Vector3 &Vector, Vector2 Direction, double cosa, double sina ) : void | ||
RotateUpDown ( Vector3 &Vector, double dx, double dy, double cosa, double sina ) : void | ||
RotateUpDown ( OpenBveApi.Math.Vector3D &Vector, Vector2D Direction, double cosa, double sina ) : void | ||
RotateUpDown ( OpenBveApi.Math.Vector3D &Vector, double dx, double dy, double cosa, double sina ) : void | ||
RotateUpDown ( Vector3Df &Vector, double dx, double dy, double cosa, double sina ) : void | ||
RotateUpDown ( double &px, double &py, double &pz, double dx, double dz, double cosa, double sina ) : void | ||
SplitGlowAttenuationData ( ushort Data, GlowAttenuationMode &Mode, double &HalfDistance ) : void |
Recreates the half distance and the glow attenuation mode from a packed System.UInt16 that was created by GetGlowAttenuationData.
|
|
Translate ( OpenBveApi.Math.Vector3D A, OpenBveApi.Math.Vector3D B ) : OpenBveApi.Math.Vector3D | ||
UpdateAbsoluteCamera ( double TimeElapsed ) : void | ||
UpdateDriverBody ( double TimeElapsed ) : void | ||
UpdateMouseGrab ( double TimeElapsed ) : void | ||
UpdateViewingDistances ( ) : void |