C4 Engine
C4 Engine API Documentation

Flector3D::Unitize

Defined in:  TSFlector3D.h
Unitizes the weight of a flector.
Prototype

Flector3D& Unitize(void);

Description
The Unitize function multiplies a flector by the inverse magnitude of its weight, which is made up of its e4, e234, e314, and e124 coordinates. If these coordinates are all zero, then the result is undefined.

The return value is a reference to the flector object.