kos_sys/addons/
bspline.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Rust for KallistiOS/Dreamcast
// Copyright (C) 2024 Eric Fradella
// https://dreamcast.rs/

use crate::dc::vector::point_t;
use crate::prelude::*;

#[link(name = "kallisti")]
extern "C" {
    pub fn bspline_coeff(pnt: *const point_t);
    pub fn bspline_get_point(t: c_float, p: *mut point_t);
}