Changeset cd1cb0f in opengl-game for vulkan-game.hpp
- Timestamp:
- Dec 24, 2019, 12:48:49 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 0fe8433
- Parents:
- a79be34
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (12/22/19 03:45:12)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (12/24/19 00:48:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
ra79be34 rcd1cb0f 189 189 vector<VertexType> centerObject(vector<VertexType> vertices); 190 190 191 template<class VertexType> 192 void transformObject(SceneObject<VertexType>& obj, mat4 mat); 193 191 194 void createBufferSet(VkDeviceSize bufferSize, VkBufferUsageFlags flags, 192 195 vector<VkBuffer>& buffers, vector<VkDeviceMemory>& buffersMemory, vector<VkDescriptorBufferInfo>& bufferInfoList); … … 269 272 } 270 273 274 template<class VertexType> 275 void VulkanGame::transformObject(SceneObject<VertexType>& obj, mat4 mat) { 276 obj.model_transform = mat * obj.model_transform; 277 } 278 271 279 #endif // _VULKAN_GAME_H
Note:
See TracChangeset
for help on using the changeset viewer.