Table of Contents

Namespace FixedMathSharp

Classes

Fixed3x3Extensions

Provides extension methods for the Fixed3x3 structure, enabling additional transformation and comparison operations.

Fixed4x4Extensions

Provides extension methods for the Fixed4x4 structure to simplify common matrix operations such as extracting scale, setting transformation components, and transforming points.

Fixed64Extensions

Provides extension methods for the Fixed64 type, enabling additional mathematical, conversion, and comparison operations using a fluent syntax.

FixedConvexPrismRelations

Provides exact owner-relative contacts between centered finite surfaces and vertical convex prisms.

FixedMath

A static class that provides a variety of fixed-point math functions. Fixed-point numbers are represented as Fixed64.

FixedQuaternionExtensions

Provides extension methods for performing operations and comparisons on FixedQuaternion instances, including approximate equality checks and angular velocity calculations.

FixedTransform

Provides a mutable deterministic transform snapshot with optional hierarchy composition.

Vector2dExtensions

Provides extension methods for the Vector2d type to support additional vector operations, comparisons, and conversions.

Vector3dExtensions

Provides extension methods for the Vector3d type to support additional vector operations, comparisons, and conversions.

Vector4dExtensions

Provides extension methods for the Vector4d type to support additional vector operations and comparisons.

Structs

CoordinateConvention3d

Describes a stateless 3D direction convention relative to FixedMathSharp's canonical basis.

Fixed3x3

Represents a 3x3 matrix used for linear transformations in 2D and 3D space, such as rotation, scaling, and shearing.

Fixed4x4

Represents a 4x4 matrix used for transformations in 3D space, including translation, rotation, scaling, and perspective projection.

Fixed64

Represents a Q(64-SHIFT_AMOUNT).SHIFT_AMOUNT fixed-point number. Provides high precision for fixed-point arithmetic where SHIFT_AMOUNT bits are used for the fractional part and (64 - SHIFT_AMOUNT) bits for the integer part. The precision is determined by SHIFT_AMOUNT, which defines the resolution of fractional values.

FixedCurve

A deterministic fixed-point curve that interpolates values between keyframes. Used for animations, physics calculations, and procedural data.

FixedCurveKey

Represents a keyframe in a FixedCurve, defining a value at a specific time.

FixedQuaternion

Represents a quaternion (x, y, z, w) with fixed-point numbers. Quaternions are useful for representing rotations and can be used to perform smooth rotations and avoid gimbal lock.

FixedRange

Represents a range of values with fixed precision.

Vector2d

Represents a 2D vector with fixed-point precision, offering a range of mathematical operations and transformations such as rotation, scaling, reflection, and interpolation.

Vector3d

Represents a 3D vector with fixed-point precision, supporting a wide range of vector operations such as rotation, scaling, interpolation, and projection.

Vector4d

Represents a 4D vector with fixed-point precision.

Enums

Axis3d

Identifies a signed axis in a 3D coordinate convention.

FixedCurveMode

Specifies the interpolation method used when evaluating a FixedCurve.