Covellite++  Version: 2.3.0 Revision: ??? Platform: x64 Build: 23:13 04.01.2025
Кроссплатформенный фреймворк для разработки приложений на С++
Загрузка...
Поиск...
Не найдено
Data.h
1
2#ifndef COVELLITE_API_CONSTANT_BUFFERS_HEADER
3#define COVELLITE_API_CONSTANT_BUFFERS_HEADER
4
5#ifdef GLM_VERSION
6
7using float4x4 = ::glm::mat4;
8#define mediump
9#define lowp
10
11#endif // GLM_VERSION
12
13#define COVELLITE_BUFFER_INDEX_CAMERA 0
14#define COVELLITE_BUFFER_INDEX_OBJECT 1
15#define COVELLITE_BUFFER_INDEX_USER 2
16
17struct Camera
18{
19 float4x4 Projection;
20 float4x4 View;
21 float4x4 ViewInverse;
22};
23
24struct Object
25{
26 float4x4 World;
27};
28
29#endif // COVELLITE_API_CONSTANT_BUFFERS_HEADER