Changeset cf2d1e5 in opengl-game for color.vert


Ignore:
Timestamp:
Jun 14, 2018, 3:02:51 AM (7 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
885f0bb, 8d5e67b
Parents:
c8dc5c6
git-author:
Dmitry Portnoy <dmp1488@…> (06/14/18 02:58:13)
git-committer:
Dmitry Portnoy <dmp1488@…> (06/14/18 03:02:51)
Message:

-Stop rendering the triangle and square
-Place the player ship at the bottom center of screen, heading up and

into the screen

-Create a method for spawning asteroids and place several in the scene
-Allow the player to move the ship left and right and move the asteroids

towards the ship

File:
1 edited

Legend:

Unmodified
Added
Removed
  • color.vert

    rc8dc5c6 rcf2d1e5  
    1818// fixed point light position
    1919vec3 light_position_world = vec3(0.0, 0.0, 2.0);
    20 vec3 light2_position_world = vec3(0.0, -1.5, -0.2);
     20vec3 light2_position_world = vec3(0.0, 1.5, -0.1);
    2121
    2222void main() {
Note: See TracChangeset for help on using the changeset viewer.