diff options
author | hnOsmium0001 <[email protected]> | 2022-05-07 15:36:35 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-05-07 15:36:35 -0700 |
commit | 18b0c0e122f04b840f563862c5c1e4b2934b55c1 (patch) | |
tree | dfe167f5829a8c238584ef123691bc88f54251b3 /source/main.cpp | |
parent | d98a4159d86406a47628aa58bae9f3308fea4fd0 (diff) |
Fix camera view matrix, [WIP] guizmo
Diffstat (limited to 'source/main.cpp')
-rw-r--r-- | source/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/main.cpp b/source/main.cpp index f96a6a3..0dec98f 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -288,9 +288,9 @@ int main(int argc, char* argv[]) { layout(location = 0) in vec3 pos; layout(location = 1) in vec4 color; out vec4 v2fColor; -uniform mat4 transformation; +uniform mat4 transform; void main() { - gl_Position = transformation * vec4(pos, 1.0); + gl_Position = transform * vec4(pos, 1.0); v2fColor = color; } )"""sv, |