Normalize

(Difference between revisions)
Jump to: navigation, search
(Created page with "Returns a normalized vector : nvec = normalize(vec3(x, y, z))")
 
Line 1: Line 1:
 
Returns a normalized vector :
 
Returns a normalized vector :
  
  nvec = normalize(vec3(x, y, z))
+
  vec = normalize(vec3(x, y, z))

Revision as of 15:58, 5 February 2013

Returns a normalized vector :

vec = normalize(vec3(x, y, z))
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox