handmade.math

Undocumented in source.

Members

Functions

cos
double cos(double x)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
floor
double floor(double x)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
radians
float radians(float deg)

Converts degrees to radians

sin
double sin(double x)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqrt
double sqrt(double x)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tan
double tan(double x)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Imports

cos (from core.stdc.math)
public import core.stdc.math : sqrt, cos, sin, tan, floor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
floor (from core.stdc.math)
public import core.stdc.math : sqrt, cos, sin, tan, floor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sin (from core.stdc.math)
public import core.stdc.math : sqrt, cos, sin, tan, floor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqrt (from core.stdc.math)
public import core.stdc.math : sqrt, cos, sin, tan, floor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tan (from core.stdc.math)
public import core.stdc.math : sqrt, cos, sin, tan, floor;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

PI
enum PI;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

Mat4
struct Mat4

4x4 Matrix structure for transformations

Vec2
struct Vec2

2D Vector structure with x and y coordinates

Vec3
struct Vec3

3D Vector structure with x, y, and z coordinates

Meta