Search:
Login
Preferences
Help/Guide
About Trac
Register
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
93baa0e
in opengl-game for
test.vert
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
Aug 5, 2017, 6:55:49 PM (
8 years
ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl
,
master
,
points-test
Children:
49756cb
Parents:
d0b9596
Message:
Add face culling and a model matrix that can be changed to move the scene
File:
1 edited
test.vert
(modified)
(
2 diffs
)
Legend:
Unmodified
Added
Removed
test.vert
rd0b9596
r93baa0e
1
1
#version 410
2
3
uniform mat4 model;
2
4
3
5
layout(location = 0) in vec3 vertex_position;
…
…
8
10
void main() {
9
11
color = vertex_color;
10
gl_Position =
vec4(vertex_position, 1.0);
12
gl_Position =
model *
vec4(vertex_position, 1.0);
11
13
}
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive