Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dcfapixels/datamath

Library of new data types with mathematics for C#
https://github.com/dcfapixels/datamath

csharp math no-dependencies vector

Last synced: about 1 month ago
JSON representation

Library of new data types with mathematics for C#

Awesome Lists containing this project

README

        

![sml](https://user-images.githubusercontent.com/99481254/229620718-0b1a6ab5-3b03-430c-a51c-49167ed56a24.png)

### Library of new data types with mathematics for C#
> WARNING: The API is a work in progress! Some features may not be implemented and the API may change in the future

This library is inspired by shader programming languages. Several similar types are implemented, `float4`, `float3` etc. Supports converting to Unity base types, such as `float3` to `Vector3`. But can be applied outside of Unity. Also provides a set of mathematical functions ~~and random number generators~~.

**Developed as an extension to [DragonECS](https://github.com/DCFApixels/DragonECS) project, to simplify writing engine-independent systems.**

implemented types
`double2`, `double3`, `double4`, `float2`, `float3`, `float4`, `int2`, `int3`, `int4`, `uint2`, `uint3`, `uint4`, etc.