crashcat docs
    Preparing search index...

    Function transformScale

    • the scale a rotated child sees: a scale in its parent's space carried into the child's space, the diagonal of rotation^T * scale * rotation. a uniform scale or an identity rotation passes through unchanged. only exact where the rotation keeps the scale's axes aligned (multiples of 90 degrees), otherwise the child would need a shear (jolt: ScaleHelpers::RotateScale behind the child's TransformScale)

      Parameters

      • out: Vec3
      • rotation: Quat
      • scaleX: number
      • scaleY: number
      • scaleZ: number

      Returns Vec3