Sets the value of this vector to the normalization of vector v.
oBoolean = SIVector3.Normalize( v ); |
Boolean True if the normalization has been computed; otherwise False.
Parameter | Type | Description |
---|---|---|
v | SIVector3 | Operand vector |
dim v1, v2 ' Create 3D vectors. set v1 = XSIMath.CreateVector3 set v2 = XSIMath.CreateVector3 v1.Set 12.0, 34.0, 43.0 if v2.Normalize( v1 ) then computation = TRUE else computation = FALSE end if |