mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-16 23:18:12 +08:00
- Add render API in bounding box - Add getter API in renderer to get bounding box
10 lines
178 B
GLSL
10 lines
178 B
GLSL
#version 430 core
|
|
|
|
layout(location = 0) in vec3 position;
|
|
|
|
uniform mat4 view;
|
|
uniform mat4 projection;
|
|
|
|
void main() {
|
|
gl_Position = projection * view * vec4(position, 1.0);
|
|
} |