Vector3.OrthoNormalize 直角规范化

static function OrthoNormalize (ref normal : Vector3, ref tangent : Vector3) : void

Description描述

Makes vectors normalized and orthogonal to each other.

使向量规范化并且彼此相互垂直。

Normalizes normal. Normalizes tangent and makes sure it is orthogonal to normal (that is, angle between them is 90 degrees).

规范化normal,规范化tangent并且确保它垂直于normal(就是两者之间的角度为90度)。

参见: Normalize 函数

• static function OrthoNormalize (ref normal : Vector3, ref tangent : Vector3, ref binormal : Vector3) : void

Description描述

Makes vectors normalized and orthogonal to each other.

使向量规范化并且彼此相互垂直。

Normalizes normal. Normalizes tangent and makes sure it is orthogonal to normal. Normalizes binormal and makes sure it is orthogonal to both normal and tangent.

规范化normal,规范化tangent并且确保它垂直于normal。规范化binormal并确保它到normal和tangent两者之间相互垂直。

参见: Normalize 函数

Page last updated: 2010-12-19