Declaration Syntax
C# 
namespace Tesla.Math
Types
All Types  Classes  Structures  Enumerations 
Icon  Type  Description 

Color 
Defines a color using red, green, blue, and alpha values. The standard
range for each component is [0f, 1f].


IntersectionRecord 
A record of a single RayObject intersection.


MathUtils 
Utility class that contains math constants and useful math functions.


Matrix 
Defines a 4x4 rowmajor Matrix (following DirectX's matrix layout).
Right handedness conventions used by default.


Plane 
Describes a mathematical plane with normal vector and plane constant d.


PlaneIntersectionType 
Describes the intersection types between a plane and bounding volume.


Point 
Defines a 2D point.


Quaternion 
Defines a 4 dimensional vector that represents a rotation, where
the x,y,z components are a vector that an object is rotated about
by the angle theta. W is equal to cos(theta/2).


Ray 
Defines a 3D ray with a point of origin and a direction.


Rectangle 
Defines a rectangle.


Transform 
The Transform class represents a 3D SRT (scaling/rotation/translation) matrix.
Generally this class is used to represent a world matrix and has functions to conviently set
each component, compute the SRT matrix, and parentchild transform combination.


Triangle 
Defines a 3 point primitive.


Vector2 
Defines a 2 component vector


Vector3 
Defines a 3 component vector.


Vector4 
Defines a 4 component vector.
