[][src]Module screen_13::math

Structs

Cone
Mat3

A 3x3 column major matrix.

Mat4

A 4x4 column major matrix.

Plane
Quat
Sphere
Vec2

A 2-dimensional vector.

Vec3

A 3-dimensional vector without SIMD support.

Vec4

A 4-dimensional vector.

Functions

mat4

Creates a Mat4 from four column vectors.

quat

Creates a Quat from x, y, z and w values.

vec2

Creates a Vec2.

vec2_is_finite

Returns true if the given vector is neither infinite nor NaN.

vec3

Creates a Vec3.

vec3_is_finite

Returns true if the given vector is neither infinite nor NaN.

vec4

Creates a Vec4.

vec4_from_vec3
vec4_is_finite

Returns true if the given vector is neither infinite nor NaN.

Type Definitions

Area
Coord
Coord8
CoordF
Extent
Rect
RectF