|
| EZ_DECLARE_POD_TYPE () |
|
| ezSimdTransform () |
| Default constructor: Does not do any initialization.
|
|
| ezSimdTransform (const ezSimdVec4f &vPosition, const ezSimdQuat &qRotation=ezSimdQuat::MakeIdentity(), const ezSimdVec4f &vScale=ezSimdVec4f(1.0f)) |
| Sets position, rotation and scale.
|
|
| ezSimdTransform (const ezSimdQuat &qRotation) |
| Sets rotation.
|
|
ezSimdFloat | GetMaxScale () const |
| Returns the scale component with maximum magnitude.
|
|
bool | HasMirrorScaling () const |
| Returns whether this transform contains negative scaling aka mirroring.
|
|
bool | ContainsUniformScale () const |
| Returns whether this transform contains uniform scaling.
|
|
bool | IsEqual (const ezSimdTransform &rhs, const ezSimdFloat &fEpsilon) const |
| Equality Check with epsilon.
|
|
void | Invert () |
| Inverts this transform.
|
|
ezSimdTransform | GetInverse () const |
| Returns the inverse of this transform.
|
|
ezSimdMat4f | GetAsMat4 () const |
| Returns the transformation as a matrix.
|
|
ezSimdVec4f | TransformPosition (const ezSimdVec4f &v) const |
|
ezSimdVec4f | TransformDirection (const ezSimdVec4f &v) const |
|
void | operator*= (const ezSimdTransform &other) |
| Concatenates the two transforms. This is the same as a matrix multiplication, thus not commutative.
|
|
void | operator*= (const ezSimdQuat &q) |
| Multiplies q into the rotation component, thus rotating the entire transformation.
|
|
void | operator+= (const ezSimdVec4f &v) |
|
void | operator-= (const ezSimdVec4f &v) |
|
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/Foundation/SimdMath/SimdTransform.h
- /home/runner/work/ezEngine/ezEngine/Code/Engine/Foundation/SimdMath/Implementation/SimdTransform_inl.h