mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 12:41:18 -07:00
Code cleanup
This commit is contained in:
parent
88b6835258
commit
af30a3ab7e
6 changed files with 4 additions and 146 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#version 110
|
||||
|
||||
varying vec3 eye_position;
|
||||
varying vec3 eye_normal;
|
||||
|
||||
vec3 world_normal()
|
||||
|
|
@ -16,6 +15,5 @@ void main()
|
|||
{
|
||||
vec4 world_position = vec4(gl_Vertex.xyz, 1.0);
|
||||
gl_Position = gl_ModelViewProjectionMatrix * world_position;
|
||||
eye_position = (gl_ModelViewMatrix * world_position).xyz;
|
||||
eye_normal = gl_NormalMatrix * world_normal();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue