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.

11 lines
304 B

5 years ago
  1. #pragma once
  2. #include "vertexbuffer.h"
  3. #include "shader.h"
  4. class ParticleSystem {
  5. VertexBuffer *mVertexBuffer;
  6. glm::mat4 mModelMatrix;
  7. Shader *mShader;
  8. public:
  9. void Init(float x, float y, float z);
  10. void Draw(glm::mat4 & viewMatrix, glm::mat4 & projectionMatrix);
  11. void Update(float deltaTime);
  12. };