mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-09-25 03:18:32 +00:00
Add an example cube (tutorials!)
This commit is contained in:
9
example/src/fragment.glsl
Normal file
9
example/src/fragment.glsl
Normal file
@@ -0,0 +1,9 @@
|
||||
#version 330 core
|
||||
|
||||
in vec3 fragmentColor;
|
||||
|
||||
out vec3 color;
|
||||
|
||||
void main() {
|
||||
color = fragmentColor;
|
||||
}
|
Reference in New Issue
Block a user