mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-07-29 17:02:06 +08:00

jira: STUDIO-5985 most of code from OrcaSlicer,thanks for OrcaSlicer and enricoturri1966 commit 28d0147d0988917a8b9d85441b8836453e0f222e Author: enricoturri1966 <enricoturri@seznam.cz> Date: Fri Oct 20 15:41:26 2023 +0800 Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation Change-Id: I94ff38d9a03b4b91183b150617d6407a8ffa279e
12 lines
204 B
GLSL
12 lines
204 B
GLSL
#version 110
|
|
|
|
uniform mat4 view_model_matrix;
|
|
uniform mat4 projection_matrix;
|
|
|
|
attribute vec3 v_position;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = projection_matrix * view_model_matrix * vec4(v_position, 1.0);
|
|
}
|