Module storm::math[][src]

Expand description

Math utilities.

Structs

Provides tools for interacting with and creating axis aligned bounding boxes in 2D.

Provides functions for interpolating between two f32s.

Constants

Functions

Computes the four quadrant arctangent of self (y) and other (x) in radians.

Computes the cosine of a number. Input in degrees, output in radians.

Computes the cosine of a number. Input in radians, output in radians.

Linearly interpolates between a and b by t.

Creates an orthographic matrix from screen bounds with a fixed aspect ratio and with 0,0 in the center.

Converts perceptual (db) into linear ([0, 1]).

Computes the sine of a number. Input in degrees, output in radians.

Computes the sine of a number. Input in radians, output in radians.