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