begin raylib
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <td/render/shader/ShaderProgram.h>
|
||||
#include <raylib.h>
|
||||
#include <td/Maths.h>
|
||||
|
||||
namespace td {
|
||||
namespace shader {
|
||||
|
||||
class CameraShaderProgram : public ShaderProgram {
|
||||
class CameraShaderProgram {
|
||||
private:
|
||||
unsigned int m_LocationProjection = 0, m_LocationView = 0;
|
||||
|
||||
public:
|
||||
CameraShaderProgram() {}
|
||||
CameraShaderProgram() {
|
||||
}
|
||||
|
||||
void SetProjectionMatrix(const Mat4f& proj) const;
|
||||
void SetViewMatrix(const Mat4f& view) const;
|
||||
|
||||
Reference in New Issue
Block a user