GlmSharp icon indicating copy to clipboard operation
GlmSharp copied to clipboard

Open-source semi-generated GLM-flavored math library for .NET/C#

Results 8 GlmSharp issues
Sort by recently updated
recently updated
newest added

Hello, i want to ask if there is no glm::translate function within this lib ? best regards Andy

Hello Philip, I created a method to compare structs more efficiently and applied it to the GlmSharp components. Using the following unsafe code on mat4 runs about 10x faster inline...

I'm getting a different ortho result from MonoGame than GlmSharp, this is the code from MonoGame's Matrix ``` public static void CreateOrthographicOffCenter(float left, float right, float bottom, float top, float...

Any chance of adding mat4 multiplication for vec2/3 and returning a vec2/3? This for example is taken for Axiom (orge3d port)... ``` public static vec3 operator *(mat4 matrix, vec3 vector)...

into Translation, Scale, Rotation, Shear? See https://glm.g-truc.net/0.9.6/api/a00204.html

enhancement

Sometimes a simple position struct has to be updated. There is actually no need to allocate a new object and let the old one be garbage on the heap. Also,...

enhancement

All optimizations of the following form: public static vec4 Sub(vec4 lhs, vec4 rhs) => new vec4(lhs.x - rhs.x, lhs.y - rhs.y, lhs.z - rhs.z, lhs.w - rhs.w); to public static...

enhancement

Hi. I m experiencing problems in building the library with VS2013 community edition. After a fresh clone, the build fail: "\GlmSharp-master\GlmSharp\GlmSharp\Extensions.cs(37,71,37,73): error CS1002: ; expected" it seams related to lambda...

help wanted