Crate ark_api

source ยท
Expand description

Modules

Macros

Structs

  • A 3D affine transform, which can represent translation, rotation, scaling and shear.
  • A 3-dimensional axis-aligned bounding box
  • A compressed sRGBA color, 8-bit per component, 32-bit total.
  • Represents a transform with translation + rotation + uniform scale. Preserves local angles. Scale and rotation will be applied first, then translation.
  • An isometric transform represented by translation * rotation.
  • A 3x3 column major matrix.
  • A 4x4 column major matrix.
  • Simple mesh representation, layer on to of MeshData
  • Bounding box & sphere of mesh.
  • User-friendly mesh buffer contents struct
  • A 3-dimensional plane primitive.
  • A quaternion representing an orientation.
  • A ray in 3-dimensional space: a line through space with a starting point and a direction.
  • A 2-dimensional vector.
  • A 3-dimensional vector.
  • A 4-dimensional vector.

Enums

  • API error enum, describes how an Ark API call can fail
  • Euler rotation sequences.

Traits

Attribute Macros

  • Arkโ€™s version of Rustโ€™s #[test] macro