Blender Git Loki

Git Commits -> Revision 7aad5cf

Revision 7aad5cf by Mike Erwin (master)
March 21, 2017, 21:27 (GMT)
OpenGL: generic inputs for new matrix API

For functions that expect a 4x4 matrix, you can pass in that, or array[16], or float*, or... Casting at each call site can get annoying, and obscures the logic.

The C11 section still needs work, but the non-C11 macros help on the system I tested on (Mac/clang).

Part of T49450

Commit Details:

Full Hash: 7aad5cf573a964753b37573c5a2ea12af5d5952a
Parent Commit: 20d02be
Lines Changed: +42, -27

3 Modified Paths:

/source/blender/editors/include/BIF_gl.h (+0, -27) (Diff)
/source/blender/gpu/GPU_matrix.h (+41, -0) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021