Clang Vector Extension support

This commit is contained in:
Jon Daniel 2024-11-10 09:18:58 +01:00
commit 51f336d2ec

View file

@ -114,7 +114,7 @@ int main(void)
modelA.transform = MatrixMultiply(modelA.transform, MatrixRotateZ(0.012f));
// Update the light shader with the camera view position
SetShaderValue(shader, shader.locs[SHADER_LOC_VECTOR_VIEW], &camera.position.x, SHADER_UNIFORM_VEC3);
SetShaderValue(shader, shader.locs[SHADER_LOC_VECTOR_VIEW], &camera.position, SHADER_UNIFORM_VEC3);
//----------------------------------------------------------------------------------
// Draw