![]() integer |
Map x size |
![]() integer |
Map y size |
![]() returns float |
Height function getHeight(float x, float y) Height at any 2d coordinate |
![]() returns object |
getMap function getMap(integer x, integer y) retrieve map cell object |
![]() returns Vector |
intersect function intersect(Vector 3d_point, Vector 3d_direction, float range) Calculate the intersection point between the world surface and the ray projected from "3d point" towards the given direction. 3D points are actually 3-elements Vector objects. The resulting vector contains the additional fourth element - the intersection point distance. The function returns null if there is no intersection. |
Global context | >> | Experiment definition | >> | Visual style definition |