nightshade-api 0.43.0

Procedural high level API for the nightshade game engine
Documentation
1
2
3
4
5
6
7
8
9
use nightshade_api::prelude::*;

fn main() {
    run(
        |world| spawn_cube(world, vec3(0.0, 0.5, 0.0)),
        |world, cube| rotate(world, *cube, Vec3::y(), delta_time(world)),
    )
    .unwrap();
}