|
Signed Distance Fields 1.0
|
return the GLSL code retrieving a mat3 value in the 'FloatBuffer'
return the GLSL code retrieving a mat3 value in the 'FloatBuffer'
| ptr | pointer to the start of the memory block in the 'FloatBuffer' (return value of the function PrimitiveManager::malloc) |
| index | GLSL expression of the index of the vec3 to retrieve. WARNING asking the i-th matrix will read the value 9*i, 9*i+1 ... 3*i+8
|
m =