DCS func getHeight: Difference between revisions
From DCS World Wiki - Hoggitworld.com
m 1 revision imported |
No edit summary |
||
| Line 39: | Line 39: | ||
|examples= The following example with convert a vec3 point lacking y-axis data to a vec3 point at ground level. | |examples= The following example with convert a vec3 point lacking y-axis data to a vec3 point at ground level. | ||
newPoint= {x = point.x, y = land.getHeight({point.x, point.z}), z= point.z} | newPoint= {x = point.x, y = land.getHeight({x = point.x, y = point.z}), z= point.z} | ||
|notes= | |notes= | ||
}} | }} | ||
[[Category:Singleton Functions|getHeight]] | [[Category:Singleton Functions|getHeight]] | ||
