You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
443 B

#pragma once
#include "vulkan/application.hpp"
class SoftBody;
class Buffer;
class Simulation : public Application {
public:
Simulation();
~Simulation();
private:
Buffer* vertexBuffer;
Buffer* edgeBuffer;
Buffer* triangleBuffer;
Buffer* faceBuffer;
Buffer* tetrahedronBuffer;
std::vector<std::unique_ptr<SoftBody>> softBodies;
void recordDrawCommands() override;
void recordComputeCommands(VkCommandBuffer cmdBuffer) override;
};