Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
enmath2d.c File Reference

Go to the source code of this file.

Enumerations

enum  WindingOrder
 exposed from C++ (do not change) More...

Functions

void ~Math2D ()
static proto bool IsPointInPolygon (notnull array< float > polygon, float x, float y)
 Check if a point is inside polygon.
static proto bool IsPointInPolygonXZ (notnull array< vector > polygon, vector point)
 Check if a point is inside polygon.
static proto bool IsPointInTriangleXZ (vector p1, vector p2, vector p3, vector point)
 Check if point is inside triangle specified by points p1, p2 and p3.
enum WindingOrder Math2D ()
static proto WindingOrder TriangleWindingXZ (vector a, vector b, vector c)
 Determines winding order of triangle given by points a, b, c.

Variables

 Clockwise
 CounterClockwise
 Invalid