ga3

Crates.ioga3
lib.rsga3
version0.1.0
created_at2025-04-26 22:12:22.681802+00
updated_at2025-04-26 22:12:22.681802+00
descriptionCommon types for 3D geometric algebra
homepage
repositoryhttps://gitlab.com/porky11/ga3
max_upload_size
id1650640
size25,491
Fabio Krapohl (porky11)

documentation

README

This crate provides common types for 3D geometric algebra in Rust.

It includes the following key types:

  • Vectors (Vector)
  • Bivectors (Bivector)
  • Rotors (Rotor)

The crate aims to offer a concise and efficient implementation of 3D geometric algebra, making it suitable for use in game development, mathematical applications, and other domains that require geometric algebra.

Features

  • Provides a simple and intuitive API for working with 3D geometric algebra types
  • Supports basic arithmetic operations (addition, subtraction, multiplication, division) on vectors, bivectors, and rotors
  • Implements common mathematical operations like dot product, inner product, and outer product
  • Offers convenient methods for creating and manipulating vectors, bivectors, and rotors
  • Supports serialization and deserialization of geometric algebra types using the data-stream crate (enabled by the data-stream feature)
  • Allows parsing and formatting of geometric algebra types using the token-parser crate (enabled by the parsable feature)
Commit count: 46

cargo fmt