Fixed typos

This commit is contained in:
Sascha Willems 2020-08-09 14:39:32 +02:00
parent 2898671f40
commit 583e61ac35
9 changed files with 10 additions and 10 deletions

View file

@ -241,7 +241,7 @@ void VulkanglTFScene::drawNode(VkCommandBuffer commandBuffer, VkPipelineLayout p
return;
}
if (node.mesh.primitives.size() > 0) {
// Pass the node's matrix via push constanst
// Pass the node's matrix via push constants
// Traverse the node hierarchy to the top-most parent to get the final matrix of the current node
glm::mat4 nodeMatrix = node.matrix;
VulkanglTFScene::Node* currentParent = node.parent;

View file

@ -96,7 +96,7 @@ public:
};
// Contains the texture for a single glTF image
// Images may be reused by texture objects and are as such separted
// Images may be reused by texture objects and are as such separated
struct Image {
vks::Texture2D texture;
};