vec3.addSpherical: Difference between revisions

no edit summary
m (Mex moved page Vec3.addSpherical to vec3.addSpherical)
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = addSpherical
|side = shared
|type = method
|type = method
|class = Vec3
|class = Vec3
|name = addSpherical
|games = iii vc sa iv
|parameters = float radius, float inclinationAngle, float azimuthalAngle
|desc = fetch a new 3D vector with a 3D offset added to the vector, calculated with the spherical co-ordinate system
|parameter1 = float radius The radius of the sphere.
|arg1 = float radius The radius of the sphere.
|parameter2 = float inclinationAngle The inclination angle of the line.
|arg2 = float inclinationAngle The inclination angle of the line.
|parameter3 = float azimuthalAngle The azimuthal angle of the line.
|arg3 = float azimuthalAngle The azimuthal angle of the line.
|returnTypes = Vec3
|return = Vec3 the new 3D vector
|returnInfo = the new 3D vector
|freturn = Vec3 Vec3(0.0,0.0,0.0)
|usage = fetch a new 3D vector with a 3D offset added to the vector, calculated with the spherical co-ordinate system
|returnFail1 = Vec3 Vec3(0.0,0.0,0.0)
}}
}}
6,834

edits