Package-level declarations
Types
Boolean 2D vector
Boolean 3D vector
An interface representing a type that can be converted into a Vector4. This allows classes implementing this interface to define a custom transformation or mapping to a Vector4
instance, enabling compatibility with systems and operations that utilize 4-dimensional vectors.
Integer 2D vector, exclusively for integer calculations.
Integer 3D vector, exclusively for integer calculations.
Represents a linear type that supports basic arithmetic operations for objects of the same type. This interface enforces a linear structure that can be used to define custom mathematical types.
A 3x3 matrix with double precision
A 4x4 matrix with double precision
A 5x5 matrix with double precision
Parametric2D defines a two-dimensional parametric function.
Represents a three-dimensional parametric function.
Represents a parametrized function defined in a 4D space. Provides the means to compute a value of type R given four input parameters: u, v, w, and t, typically representing dimensions or coordinates in the 4D space.
A 2D point defined in the Polar coordinate system.
A 2D vector representation in Cartesian coordinates with methods for mathematical operations and conversions. Implements linear algebra functionalities and provides utility methods for creating and manipulating 2D vectors.
Double-precision 3D vector.
Properties
Functions
Samples a single point based on the provided t value from given 3D cubic Bézier curve.
Returns IntVector2 whose value is limited between min and max per vector component.
Returns IntVector3 whose value is limited between min and max per vector component.
Returns IntVector4 whose value is limited between min and max per vector component.
Linearly maps a value, which is given in the before domain to a value in the after domain.
Linearly maps a value, which is given in the before domain to a value in the after domain.
Linearly maps a value, which is given in the before domain to a value in the after domain
Computes a normalization factor based on the input values a
, b
, and c
. The factor is calculated as a power of 2, inversely proportional to the largest exponent of the input values, if it falls outside the range of -8, 8. Otherwise, the factor defaults to 1.0.
Computes a normalization factor based on the maximum exponent of the input values.
Similar to derivative but handles cases in which p0 and p1 coincide.
Similar to derivative but handles cases in which p0 and p1 or p2 and p3 coincide.
Smootherstep
Smoothstep
Smoothstep