Support Warning
WebGPU is currently only supported on Chrome starting with version 113, and only on desktop. If they don't work on your configuration, you can check the WebGL2 examples here.3d_rotation.rs:
//! Illustrates how to rotate an object around an axis.
use *;
use TAU;
// Define a component to designate a rotation speed to an entity.
// This system will rotate any entity in the scene with a Rotatable component around its y-axis.