😼
- https://hemera.systems/about
- @Hemera@meow.social
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use bevy::prelude::*; | |
pub struct GlobalChildRef(pub Entity); | |
pub struct GlobalChild; | |
fn setup( | |
mut commands: Commands, | |
mut materials: ResMut<Assets<ColorMaterial>>, | |
global_child: ResMut<GlobalChildRef>, | |
) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code is licensed under CC0 | |
// | |
// | |
// The code assumes that your meshing goes in clockwise order, starting at the top left | |
// | |
// TL -> TR | |
// ^ v | |
// BL <- BR | |
// `alt_axis` and `alt2_axis` are `u` and `v` respectively |
OlderNewer