Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
enmath2d.c
Go to the documentation of this file.
1
5
6
//-----------------------------------------------------------------------------
7
9
enum
WindingOrder
10
{
11
CounterClockwise
,
// 0
12
Clockwise
,
// 1
13
Invalid
// 2
14
}
15
16
17
class
Math2D
18
{
19
private
void
Math2D
();
20
private
void
~Math2D
();
21
26
static
proto
bool
IsPointInPolygonXZ
(notnull
array<vector>
polygon,
vector
point);
28
static
proto
bool
IsPointInTriangleXZ
(
vector
p1,
vector
p2,
vector
p3,
vector
point);
35
static
proto
bool
IsPointInPolygon
(notnull
array<float>
polygon,
float
x
,
float
y
);
40
static
proto
WindingOrder
TriangleWindingXZ
(
vector
a,
vector
b,
vector
c);
41
}
42
array
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Definition
isboxcollidinggeometryproxyclasses.c:28
vector
Definition
enconvert.c:119
IsPointInTriangleXZ
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.
Math2D
enum WindingOrder Math2D()
CounterClockwise
CounterClockwise
Definition
enmath2d.c:0
~Math2D
void ~Math2D()
IsPointInPolygonXZ
static proto bool IsPointInPolygonXZ(notnull array< vector > polygon, vector point)
Check if a point is inside polygon.
Invalid
Invalid
Definition
enmath2d.c:3
Clockwise
Clockwise
Definition
enmath2d.c:1
TriangleWindingXZ
static proto WindingOrder TriangleWindingXZ(vector a, vector b, vector c)
Determines winding order of triangle given by points a, b, c.
IsPointInPolygon
static proto bool IsPointInPolygon(notnull array< float > polygon, float x, float y)
Check if a point is inside polygon.
WindingOrder
WindingOrder
exposed from C++ (do not change)
Definition
enmath2d.c:10
x
Icon x
y
Icon y
Games
Dayz
scripts
1_core
proto
enmath2d.c
Generated by
1.17.0