rocketsim 0.2.0

Simulate Rocket League games at maximum efficiency
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use glam::Vec3A;

use super::collision_margin::CONVEX_DISTANCE_MARGIN;

pub struct ConvexInternalShape {
    pub implicit_dim: Vec3A,
    pub margin: f32,
}

impl Default for ConvexInternalShape {
    fn default() -> Self {
        Self {
            implicit_dim: Vec3A::ZERO,
            margin: CONVEX_DISTANCE_MARGIN,
        }
    }
}