[][src]Function smallpt::nalgebra::normalize

pub fn normalize<V>(v: &V) -> V where
    V: NormedSpace, 
Deprecated:

use Matrix::normalize or Quaternion::normalize instead

Computes the normalized version of the vector v.

Deprecated

Use these methods instead:

  • [Matrix::normalize]
  • [Quaternion::normalize]

Or, use NormedSpace::normalize.