Changeset 7c929fc in opengl-game for vulkan-game.hpp
- Timestamp:
- Dec 6, 2019, 4:21:54 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 60578ce
- Parents:
- 2b40f48
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
r2b40f48 r7c929fc 204 204 205 205 vec3 normal = normalize(cross(p2 - p1, p3 - p1)); 206 normal.z = -normal.z;206 //normal.z = -normal.z; 207 207 208 208 // Add the same normal for all 3 vertices
Note:
See TracChangeset
for help on using the changeset viewer.