-
Notifications
You must be signed in to change notification settings - Fork 0
class_geometry
reduz edited this page Feb 23, 2014
·
10 revisions
#####Inherits: Object
-
Array
build_box_planes( Vector3 extents ) -
Array
build_cylinder_planes( real radius, real height, int sides, int axis=2 ) -
Array
build_capsule_planes( real radius, real height, int sides, int lats, int axis=2 ) -
real
segment_intersects_circle( Vector2 segment_from, Vector2 segment_to, Vector2 circle_pos, real circle_radius ) - void
segment_intersects_segment_2d( Vector2 from_a, Vector2 to_a, Vector2 from_b, Vector2 to_b ) -
Vector2Array
get_closest_points_between_segments_2d( Vector2 p1, Vector2 q1, Vector2 p2, Vector2 q2 ) -
Vector3Array
get_closest_points_between_segments( Vector3 p1, Vector3 p2, Vector3 q1, Vector3 q2 ) -
Vector3
get_closest_point_to_segment( Vector3 point, Vector3 s1, Vector3 s2 ) - void
ray_intersects_triangle( Vector3 from, Vector3 dir, Vector3 a, Vector3 b, Vector3 c ) - void
segment_intersects_triangle( Vector3 from, Vector3 to, Vector3 a, Vector3 b, Vector3 c ) -
Vector3Array
segment_intersects_sphere( Vector3 from, Vector3 to, Vector3 spos, real sradius ) -
Vector3Array
segment_intersects_cylinder( Vector3 from, Vector3 to, real height, real radius ) -
Vector3Array
segment_intersects_convex( Vector3 from, Vector3 to, Array planes ) -
IntArray
triangulate_polygon( Vector2Array polygon )