Difference between revisions of "API:Vector3d"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "The Vector3d class is a mirror of Unity's Vector3 class, except that Vector3d uses doubles whereas Vector3 uses floats. The game mostly uses Vector3d's, presumably to reduce t...")
 
m (N3X15 moved page Vector3d to API:Vector3d)
 
(No difference)

Latest revision as of 20:50, 5 October 2012

The Vector3d class is a mirror of Unity's Vector3 class, except that Vector3d uses doubles whereas Vector3 uses floats. The game mostly uses Vector3d's, presumably to reduce the influence of floating point precision errors. You can check out the Unity documentation for Vector3 and it should also apply to Vector3d.