Flint Engine / Guide / API Reference

Crate flint_core

Crate flint_core 

Source
Expand description

Flint Core - Foundational types for the Flint engine

This crate provides the core types that all other Flint crates depend on:

  • EntityId - Stable entity identifiers
  • ContentHash - SHA-256 based content hashing
  • Transform, Vec3 - Spatial types
  • Error types and Result alias

Modules§

callbacks
Script callback name constants.
components
Engine component name constants.
events
Engine event name constants.
spline
Pure spline math — Catmull-Rom path sampling with twist (banking).
toml_util
TOML value coercion utilities.

Structs§

Color
RGBA color
ContentHash
A SHA-256 based content hash for detecting changes.
EntityId
A stable entity identifier that persists across save/load cycles.
Transform
A 3D transform with position, rotation (Euler angles), and scale
Vec3
A 3D vector

Enums§

FlintError
The main error type for Flint operations

Functions§

mat4_mul
Multiply two 4x4 column-major matrices

Type Aliases§

Result
Result type alias for Flint operations