nightshade 0.36.0

A cross-platform data-oriented game engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use freecs::Entity;
use std::collections::{HashMap, HashSet};

#[derive(Default, Clone)]
pub struct TransformState {
    pub dirty_entities: Vec<Entity>,
    pub children_cache: HashMap<Entity, Vec<Entity>>,
    pub children_cache_valid: bool,
    pub expansion_seen: HashSet<Entity>,
    pub ancestor_visited: HashSet<Entity>,
    pub render_dirty_scratch: Vec<Entity>,
}