Go to: Synopsis. Return value. MEL examples.

Synopsis

int normalize( float $v[] )

Normalizes a float array of 3 values.

Return value

None

Arguments

Variable Name Variable Type Description
$vfloat[]Array of 3 floats to be normalized

MEL examples

	float $v0[] = {3,6,9};
	normalize($v0);
	// Results: 1 //