rlbot 0.5.0

RLBot bindings for Rust
Documentation
use crate::{
    state,
    state_convert::{FromPoint3, FromVector3},
};
use na::{Point3, Vector3};

impl FromVector3<Vector3<f32>> for state::Vector3Partial {
    fn from(v: Vector3<f32>) -> Self {
        Self::new().x(v.x).y(v.y).z(v.z)
    }
}

impl FromPoint3<Point3<f32>> for state::Vector3Partial {
    fn from(v: Point3<f32>) -> Self {
        Self::new().x(v.x).y(v.y).z(v.z)
    }
}