Changeset 7c929fc in opengl-game for vulkan-game.cpp
- 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.cpp
r2b40f48 r7c929fc 502 502 503 503 // z-range is 0 to 1, with +1 pointing into the screen 504 shipPipeline.addObject(addVertexNormals<ShipVertex>({ 504 shipPipeline.addObject( 505 addObjectIndex<ShipVertex>(shipPipeline.getObjects().size(), 506 addVertexNormals<ShipVertex>({ 505 507 {{ 0.5f, -0.5f, 0.5f}, {0.0f, 0.6f, 0.0f}}, 506 508 {{ -0.5f, -0.5f, 0.5f}, {0.0f, 0.6f, 0.0f}}, … … 516 518 {{ -0.3f, 0.3f, 0.3f}, {0.0f, 0.0f, 0.7f}}, 517 519 {{ 0.3f, 0.3f, 0.3f}, {0.0f, 0.0f, 0.7f}}, 518 }), {520 })), { 519 521 0, 1, 2, 3, 4, 5, 520 522 6, 7, 8, 9, 10, 11, 521 }, commandPool, graphicsQueue);523 }, commandPool, graphicsQueue); 522 524 523 525 shipPipeline.createDescriptorSetLayout();
Note:
See TracChangeset
for help on using the changeset viewer.