{"repo":"fireblade-engine/math","free":true,"listed":false,"github":"https://github.com/fireblade-engine/math","clone":"git clone https://github.com/fireblade-engine/math.git","description":"A dependency free, lightweight, fast math library for 2D and 3D vectors, quaternions and matrices in Swift with (optional) SIMD support.","language":"Swift","stars":48,"topics":["vectors","vector","vector-graphics","matrix","matrices","quaternion","quaternions","math","swift","spm"],"license":"MIT","category":"chat-messaging","readme_excerpt":"FirebladeMath A dependency-free, lightweight, fast math library for 2D and 3D vectors, quaternions, and matrices in Swift with (optional) SIMD support. It is developed and maintained as part of the Fireblade Game Engine project. ✨ Features - Vectors: Vec2 , Vec3 , Vec4 for Float , Double , Int , and UInt . - Matrices: Mat2x2 , Mat3x3 , Mat4x4 for Float and Double . - Quaternions: Quat4f and Quat4d . - Geometric Types: Point , Size , Rect . - Math Functions: A comprehensive set of functions including sin , cos , tan , asin , acos , atan2 , dot , cross , normalize , reflect , refract , and many more. - SIMD Support: Leveraging hardware acceleration where available, with a fallback implementation when SIMD is not supported. - Swift 6 Ready: Fully compatible with Swift 6 and Sendable conformance. 🚀 Getting Started 📋 Prerequisites Swift 6.1 or higher Swift Package Manager (SPM) 💻 Installation Add Fireblade Math as a dependency to your Package.swift file: For more detailed information and API reference, please refer to the comprehensive documentation. 🛠 SIMD Traits Starting with version 1.0.0, FirebladeMath uses Swift traits to manage SIMD support. By default, SIMD is enabled on Apple platforms. You can manually control it in your package configuration if needed. 📖 Documentation Comprehensive documentation for FirebladeMath is available online: - Documentation 📖 Usage Examples Vectors Matrices Quaternions 💁 How to contribute If you want to contribute please see the CONTRIBUT","default_branch":null,"files":null,"tree":[],"storefront":"/r/fireblade-engine","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fireblade-engine/math/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}