Module traits

Module traits 

Source

Modules§

std140

Enums§

FloatType

Traits§

Column
This type abstracts a matrix where you can get a copy of a column
ColumnRef
This type abstracts a matrix where you can get a reference of a column
ColumnRefMut
This type abstracts a matrix where you can get a mutable reference of a column
CrossProduct
This type can be used to produce a cross product
DotProduct
This type can be used to produce a dot product
IntoDegrees
This type can convert from radians to degrees
IntoRadians
This type can convert from degrees to radians
IntoSTD140
Trait that marks a type as able to be packable into a std140 compatible form
Inverse
InverseAssign
Length
This type abstracts a vector or other object that can represents a length
LengthSquared
This type abstracts a vector or other object that can represents a length. Get’s the square of the length as this can often skip an expensive square root calculation.
Lerp
This type can perform linear interpolate from a to b with factor
Normalize
This type abstracts a vector or other object that can be normalized to represent the same direction while having a length of 1
NormalizeAssign
This type abstracts a vector or other object that can be normalized to represent the same direction while having a length of 1
Pack
Packing the underlying data of a vector or matrix
Pi
This type has a constant PI
Real
This type represents a real number. A macro trait that makes using generic floats much easier
Row
This type abstracts a matrix where you can get a copy of a row
RowRef
This type abstracts a matrix where you can get a reference of a row
RowRefMut
This type abstracts a matrix where you can get a mutable reference of a row
Transpose
This types supports performing a matrix transpose
TransposeAssign
This type supports performing a matrix transpose