chiron 0.1.0

Graphical and command-line interface tools for Biomechanics Foundation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use bevy::prelude::*;

pub fn setup(
    mut commands: Commands,
) {
    // Spawn a light and the camera
    commands.spawn(PointLightBundle {
        transform: Transform::from_translation(Vec3::new(0.0, 2.0, 3.0)),
        ..default()
    });

    commands.insert_resource(AmbientLight {
        brightness: 0.8,
        ..Default::default()
    });
}