dlangui.core.math3d

Undocumented in source.

Members

Aliases

PointF
alias PointF = vec2

Alias for 2d float point

Functions

fuzzyNull
bool fuzzyNull(float v)
Undocumented in source. Be warned that the author may not have intended to support it.
triangleNormal
vec3 triangleNormal(vec3 p1, vec3 p2, vec3 p3)

calculate normal for triangle

triangleNormal
vec3 triangleNormal(float[3] p1, float[3] p2, float[3] p3)

calculate normal for triangle

Structs

mat4
struct mat4

float matrix 4 x 4

vec2
struct vec2

2 dimensional vector

vec3
struct vec3

3 dimensional vector

vec4
struct vec4

4 component vector

Meta