nightshade-api 0.43.0

Procedural high level API for the nightshade game engine
Documentation
use nightshade_api::prelude::*;

fn main() {
    run_scene(|world| {
        spawn_floor(world, 40.0);
        for index in 0..30 {
            let angle = index as f32 * 0.7;
            spawn_object(
                world,
                Object {
                    position: vec3(angle.sin() * 15.0, 1.0, (angle * 1.3).cos() * 15.0),
                    scale: vec3(1.0, 2.0, 1.0),
                    color: STEEL,
                    body: Body::Static,
                    ..Object::default()
                },
            );
        }
        first_person(world, vec3(0.0, 1.2, 8.0));
    })
    .unwrap();
}