despero 0.1.0

Rusty game engine, using API Vulkan and implementing paradigm of ECS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use rapier3d::prelude::{ColliderHandle, RigidBodyHandle};
use serde::{Serialize, Deserialize};

#[derive(Default, Copy, Clone, Serialize, Deserialize)]
pub struct BodyHandle(
    pub(crate) RigidBodyHandle,
    pub(crate) ColliderHandle
);

impl BodyHandle {
    pub fn new() -> Self {
        BodyHandle::default()
    }
}