fix shaders for the transform tool
This commit is contained in:
@@ -205,7 +205,7 @@ void Plane::create_impl(float w, float h, int div, GLushort *idx, vertex_t *vert
|
||||
v.pos.y = oy + dy * (float)y;
|
||||
v.pos.z = 0;
|
||||
v.pos.w = 1;
|
||||
v.uvs = glm::vec2(x, y) / (float)div;
|
||||
v.uvs2 = v.uvs = glm::vec2(x, y) / (float)div;
|
||||
*vertices++ = v;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user