Added Ink and ncore to modules
This commit is contained in:
6
test/arrays.ink
Normal file
6
test/arrays.ink
Normal file
@@ -0,0 +1,6 @@
|
||||
vertex main :: () -> float4 @position {
|
||||
arr : [16].float4;
|
||||
arr[0] = float4(1, 1, 1, 1);
|
||||
pos := arr[1];
|
||||
return pos;
|
||||
}
|
||||
Reference in New Issue
Block a user