Brian Osman | 6c3b23f | 2021-02-12 13:09:58 -0500 | [diff] [blame] | 1 | struct Foo { float x; } bar; |
John Stiles | 6798e5d | 2020-09-17 18:20:26 -0400 | [diff] [blame] | 2 | |
| 3 | void preincrement_matrix() { float4x4 x = float4x4(1); ++x; } |
| 4 | void predecrement_vector() { float3 x = float3(1); --x; } |
| 5 | void postincrement_matrix() { float4x4 x = float4x4(1); x++; } |
| 6 | void postdecrement_vector() { float3 x = float3(1); x--; } |
| 7 | void not_integer() { int x = !12; } |
| 8 | void positive_struct() { Foo x = +bar; } |
| 9 | void negative_struct() { Foo x = -bar; } |