Get support for ChristianPanov/mtlx
If you're new to LTH, please see our FAQ for more information on what it is we do.
Qualified Helpers
ChristianPanov
owner
From $50 / 30 mins
*This user needs to complete their payout settings before they can accept help requests
ChristianPanov/mtlx
Lightweight linear algebra template library for computer graphics
Install
git clone --recursive https://github.com/ChristianPanov/mtlx
Design Highlights
- Based(currently loosely) on the OpenGL Shading Language (GLSL) specifications
- Very lightweight - mtlx is designed to be small and compact, and at the same time, to provide a modern interface for all of the functonality you will need in computer graphics
- Generic - all the mtlx classes are templates which allows for elegant non-repeating flexible solutions
Features
- Written in modern C++17
- Vectors
- Matrices (Currently working on it)
- Quaternions (NOT ADDED)
- Trigonometric functions (NOT ADDED)
To be implemented
- Matrices
- Quaternions
- Trigonometric functions
- Policy-based design for switching at compile-time between conventional arithmetic and SIMD instructions
Usage
Basic Usage
#include <mtlx.h>
int main()
{
mtlx::vec3 vec(1.0f, 5.0f, 1.0f);
mtlx::vec3 vec2(vec.x, vec.y, vec.z);
mtlx::vec3 vec3 = vec + vec2;
auto mag = mtlx::magnitude(vec)
return 0;
}
Our Mission
We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2