{"repo":"sungiant/abacus","free":true,"listed":false,"github":"https://github.com/sungiant/abacus","clone":"git clone https://github.com/sungiant/abacus.git","description":":triangular_ruler: C# cross precision 3D maths library.","language":"C#","stars":53,"topics":["fixed-point","maths","3d-math-library","3d-math","deterministic","quaternion","quaternions","matrices","vectors","c-sharp"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Abacus [ ][status] [ ][mit] [ ][nuget] [ ][nuget] Overview Abacus is a zero-dependency cross-precision 3D maths library for .NET, Mono and .NET Core. Abacus provides implementations for 32 bit and 64 bit [fixed point Q numbers][qnumbers] and provides common 3D maths types consistently across both fixed and floating point precisions. The rationale around building Abacus is rooted in the development of deterministic game simulations. Documentation for Abacus can be found [here][docs]. Supported types Abacus provides implementations of the following common 3D maths data types: Vector2 Vector3 Vector4 Matrix44 Quaternion consistently across the following precisions: Single ( float ) Double ( double ) Fixed32 ( Q16.16 ) Fixed64 ( Q40.24 ) Getting started Abacus is available as a stand-alone library via [nuget][nuget]. Alternatively, all code associated with each supported level of precision is generated into a single C# source file - this makes it easy to simply copy the appropriate [Abacus.###.cs][sources] file. Example usage Abacus makes it easy to switch/test the precision used by a block of code as the API is consitent across all supported precisions - simply use the appropriate namespace: Details Abacus uses a right handed coordinate system. Angles of rotation are measured anti-clockwise when viewed from the rotation axis (positive side) toward the origin. Right handed rule for rotations - thumb pointing along the axis of rotation, away from the origin. Cameras are aligned wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/sungiant","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sungiant/abacus/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."}