- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
399 B
399 B
Transform::InverseTransformDirection
Vector3 InverseTransformDirection(const Vector3& direction) const
对方向进行逆变换(包含缩放处理)。
参数:
direction- 世界空间中的方向
返回: Vector3 - 局部空间中的方向
复杂度: O(1)
示例:
Transform t;
Vector3 localDir = t.InverseTransformDirection(worldDir);