Browse Source

Shaders: clarify what the heck.

pull/518/head
Vladimír Vondruš 5 years ago
parent
commit
2ca8d0ebb2
  1. 1
      src/Magnum/Shaders/Test/PhongGLTest.cpp

1
src/Magnum/Shaders/Test/PhongGLTest.cpp

@ -2794,6 +2794,7 @@ template<PhongGL::Flag flag> void PhongGLTest::renderInstanced() {
Matrix3x3 normal; Matrix3x3 normal;
Color3 color; Color3 color;
Vector2 textureOffset; Vector2 textureOffset;
/* instanced ObjectId tested directly in renderObjectId() */
} instanceData[] { } instanceData[] {
{Matrix4::translation({-1.25f, -1.25f, 0.0f})* {Matrix4::translation({-1.25f, -1.25f, 0.0f})*
Matrix4::rotationX(90.0_degf), Matrix4::rotationX(90.0_degf),

Loading…
Cancel
Save