Fix some tests and do some cleanup.
This commit is contained in:
13
test/struct_within_struct.inx
Normal file
13
test/struct_within_struct.inx
Normal file
@@ -0,0 +1,13 @@
|
||||
Foo :: struct {
|
||||
color : float4;
|
||||
}
|
||||
|
||||
Bar :: struct {
|
||||
t : Foo;
|
||||
}
|
||||
|
||||
vertex main :: () {
|
||||
f : Foo;
|
||||
b : Bar;
|
||||
b.t = f;
|
||||
}
|
||||
Reference in New Issue
Block a user