Skip to content

Instantly share code, notes, and snippets.

View kanerogers's full-sized avatar
📹
Reticulating splines

Kane Rogers-Wong kanerogers

📹
Reticulating splines
View GitHub Profile
@kanerogers
kanerogers / evil_component_links.rs
Last active August 29, 2023 13:30
Evil Component links in Hecs
@kanerogers
kanerogers / ecs_serialisation.rs
Created October 11, 2023 01:41
hecs serialisation
//! Useful wrappers around [common::hecs::World]
//!
use std::{any::TypeId, collections::HashMap, marker::PhantomData};
use common::{
anyhow,
hecs::{self, EntityBuilder, EntityRef, World},
serde::{self, de::DeserializeOwned, Deserialize, Serialize},
serde_json,
};