#include "Program.hpp"
#include "SimpleVAO.hpp"
-#include "glm.hpp"
-
-#include <cstdint>
-
namespace blobs {
namespace graphics {
void Activate() noexcept;
void SetM(const glm::mat4 &m) noexcept;
+ void SetV(const glm::mat4 &v) noexcept;
void SetVP(const glm::mat4 &v, const glm::mat4 &p) noexcept;
void SetMVP(const glm::mat4 &m, const glm::mat4 &v, const glm::mat4 &p) noexcept;
void SetLight(const glm::vec3 &color, float strength) noexcept;
struct Attributes {
glm::vec3 position;
};
- SimpleVAO<Attributes, std::uint8_t> vao;
+ SimpleVAO<Attributes, unsigned short> vao;
Program prog;
glm::mat4 m;