nalgebra_geometry4 0.1.1

The 4D geometry: point / translation / scale 4 methods, Matrix5 homogeneous (cg).

Readme

nalgebra_geometry4

The 4D geometry: point / translation / scale 4 methods, Matrix5 homogeneous (cg).

Part of nalgebra-cairo, the Cairo port of the Rust nalgebra crate on fixed::Fixed (Q32.32), built for provable game physics, split per dimension (docs/SPLIT.md §18: a number in a crate name is exactly that dimension; the dimension of a rectangular shape is max(rows, columns)).

What it holds

  • geometry::point, geometry::translation4, geometry::scale4, base::point_swizzle: the methods of the points, translations and scales of dimension 4 (Reflection4 lives with its struct in nalgebra_types4);
  • base::cg: the homogeneous-coordinate methods of Matrix5.

Upstream's module paths are kept: nalgebra_geometry4::<module path> is nalgebra::<module path> (docs/SPLIT.md §3.1). It depends on nalgebra_core, nalgebra_types2, nalgebra_types3, nalgebra_types4, nalgebra_types5 and simba.

When to depend on it

nalgebra_geometry4 is a member of the declared closure static4_geometry (11.2 s / 2.44 GB, 15 s / 3 GB).

Depend on it for the methods of the 4D points, translations and scales and the homogeneous methods of Matrix5.

For upstream's whole API at upstream's paths, depend on the facade nalgebra, which re-exports every sub-crate at the 0.1.0 paths.

internal

This crate has no internal module: it shares no crate-private item of nalgebra 0.1.0 with the crates above it.

License

MIT.

Metadata

Version 0.1.1

Uploaded 12 hours ago

License MIT

Cairo version ^2.19.4

Size 9.9 KB

Installation

Run the following command in your project dir

scarb add nalgebra_geometry4@0.1.1

Or add the following line to your Scarb.toml

nalgebra_geometry4 = "0.1.1"

Monthly downloads

Links

Keywords

  • linear-algebra
  • fixed-point
  • geometry
  • cg

Owners