feature/imgui-sdl
points-test
|
Last change
on this file since f70ab75 was 8a6d19d, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 8 years ago |
|
Implement movement in a basic 3D scene and add some examples from the new OpenGL tutorials site
|
-
Property mode
set to
100644
|
|
File size:
247 bytes
|
| Line | |
|---|
| 1 | #version 330 core
|
|---|
| 2 |
|
|---|
| 3 | // Input vertex data, different for all executions of this shader.
|
|---|
| 4 | layout(location = 0) in vec3 vertexPosition_modelspace;
|
|---|
| 5 |
|
|---|
| 6 | void main(){
|
|---|
| 7 |
|
|---|
| 8 | gl_Position.xyz = vertexPosition_modelspace;
|
|---|
| 9 | gl_Position.w = 1.0;
|
|---|
| 10 |
|
|---|
| 11 | }
|
|---|
| 12 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.