examples: add ported rotating-cube example (#227)

This commit is contained in:
PiergiorgioZagaria 2022-04-17 22:50:25 +02:00 committed by GitHub
parent 93629022c5
commit f96bbb453e
Failed to generate hash of commit
6 changed files with 322 additions and 13 deletions

View file

@ -0,0 +1,6 @@
@stage(fragment) fn main(
@location(0) fragUV: vec2<f32>,
@location(1) fragPosition: vec4<f32>
) -> @location(0) vec4<f32> {
return fragPosition;
}