cglm icon indicating copy to clipboard operation
cglm copied to clipboard

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

Results 83 cglm issues
Sort by recently updated
recently updated
newest added
trafficstars

I know it's a pain to implement but could you add support for this particular set of gcc options please? For variables that are not declared at the top of...

help wanted
feedback wanted

I would (very much) like to use CGLM with a non-C99 Win32 app [ANTz](../../../openantz/antz). Commonly used (older) versions of MSVC do not support 'inline' C99 methods and most of my...

help wanted
feedback wanted
portability

I am having problems integrating the clgm source code into a larger cmake project on Windows. cl.exe complains about warning & optimizations levels getting overridden by the clgm CMakeLists.txt. This...

help wanted
feedback wanted
build-bug
msvc

include/cglm/types.h contains the following block of code: `#ifdef __GNUC__` `#define CGLM_ASSUME_ALIGNED(expr, alignment) __builtin_assume_aligned((expr), (alignment))` `#else` `#define CGLM_ASSUME_ALIGNED(expr, alignment) (expr)` `#endif` but __builtin_assume_aligned appeared only in gcc 4.7. With earlier versions...

bug

Theses functions might be good additions to `util.h` * [Smootherstep][2] (`6x⁵ - 15x⁴ + 10x³`) * [Fast square root][2]; [related discussion in GameDev.net][3] * [Fast inverse square root][4] [1]: https://en.wikipedia.org/wiki/Smoothstep#Variations...

help wanted
feature
feedback wanted
feature request

I created CocoaPods spec, so now Xcode users can import **cglm** to their project via CocoaPods. ```bash target 'MyApp' do # use_frameworks! pod 'cglm', '~> 0.4' # or latest version...

help wanted

Currently the only way to build, say, a vec3s is manually: ``` vec3s value = {{ 1.0f, 0.0f, 0.5f }}; value = (vec3s) {{ 0.0f, 0.5f, 2.5f }}; ``` This...

help wanted
feedback wanted
feature request

In `//include/cglm/quat.h`, we've `glm_quatv` which calculates a new quaternion from axis and angle; it does ``` c c = cosf(a); s = sinf(a); ``` This can be optimized by using...

optimization

* https://en.wikipedia.org/wiki/Bivector * https://en.wikipedia.org/wiki/Multivector * https://en.wikipedia.org/wiki/Bivector#Projective_geometry * https://www.euclideanspace.com/maths/algebra/clifford/d4/functions/inverse/index.htm * https://www.euclideanspace.com/maths/algebra/clifford/index.htm * https://www.euclideanspace.com/maths/algebra/clifford/geometry/transforms/motors/index.htm --- - https://marctenbosch.com/quaternions/ (Let's remove Quaternions from every 3D Engine) (An Interactive Introduction to Rotors from Geometric Algebra)...

help wanted
feature
feedback wanted
feature request
todo

Since struct api is inline, we can provide an option to omit `glms_` name space? ```Swift /* 1. struct api */ /* existing api; omit_ns is not defined */ return...

enhancement
help wanted
feature
feedback wanted
feature request
proposal