MCPcopy Create free account
hub / github.com/assimp/assimp / IsUntransformed

Method IsUntransformed

code/PostProcessing/TextureTransform.h:130–133  ·  view source on GitHub ↗

------------------------------------------------------------------- * @brief Returns whether this is an untransformed texture coordinate set */

Source from the content-addressed store, hash-verified

128 * @brief Returns whether this is an untransformed texture coordinate set
129 */
130 inline bool IsUntransformed() const {
131 return (1.0f == mScaling.x && 1.f == mScaling.y &&
132 !mTranslation.x && !mTranslation.y && mRotation < AI_TT_ROTATION_EPSILON);
133 }
134
135 // -------------------------------------------------------------------
136 /**

Callers 1

ExecuteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected