Uses of Class
org.web3d.vrml.scripting.ecmascript.builtin.SFVec2d
Packages that use SFVec2d
-
Uses of SFVec2d in org.web3d.vrml.scripting.ecmascript.builtin
Methods in org.web3d.vrml.scripting.ecmascript.builtin that return SFVec2dModifier and TypeMethodDescriptionSFVec2d.jsFunction_add
(org.mozilla.javascript.Scriptable newVector) Add this vector to the given vector and return the value as a new vector.SFVec2d.jsFunction_divide
(double n) Divide this vector by the given scalar value and return the result in a new vectorSFVec2d.jsFunction_multiply
(double n) Multiply this vector by the scalar amount and return the result in a new vector.SFVec2d.jsFunction_normalize()
Generate the normalised version of this vector and return it.SFVec2d.jsFunction_subtract
(org.mozilla.javascript.Scriptable newVector) Subtract the given vector from this vector and return the results in a new object.