Fix and improve comments

This commit is contained in:
Moritz Brückner 2021-02-12 20:24:42 +01:00
parent 52e4aaa21c
commit b70a60078b
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ uniform mat4 WVP;
// Matrix to transform normals from local into world space
uniform mat3 N;
// Position and normal vector in local space for the current vertex
// Position and normal vectors of the current vertex in local space
// Armory packs the vertex data to preserve memory, so nor.z values are
// saved in pos.w
in vec4 pos; // pos.xyz, nor.w

View file

@ -3,7 +3,7 @@
// World to view projection matrix to correctly position the vertex on screen
uniform mat4 WVP;
// Position and normal vector in local space for the current vertex
// Position vector of the current vertex in local space
in vec3 pos;
void main() {