Skip to main content

math

Type definitions for 3D math used throughout the SDK. These are pure TypeScript types with no runtime methods -- they define the shape of data exchanged with the engine. All types are compatible with Bevy's math serialization format.

Import

import {
type Transform,
type TransformArgs,
type Vec2,
type Vec3,
type Quat,
type Rect,
} from "@hmcs/sdk";

See also: Type Definitions