Vetor3.normalizeLocal()
Método de instância em Vector3.
Descrição
- Normalizes this Vector3 (sets its comprimento to 1). |
Method Signature
normalizeLocal()
Mathematical Definition
Component-wise or runtime-defined transformation based on overload.
Parameters
- None.
Retorna
void: returned by overloads of this method.
Mutability
- Mutates o atual vector (in-place).
Edge Cases
- Normalizing a zero-comprimento vector is mathematically undefined.
- Implementations may return zero, unchanged value, or
NaNcomponents. - Very small magnitudes can create unstable normalizado directions.
Usage Example
Vector3 a = new Vector3(1f, 2f, 3f);
// Call the method according to your overload requirements.
// Example:
// a.normalizeLocal(...);
Mathematical Example
Example input/output depends on overload; for vector arithmetic operations this is typically computed per-component.