1 unstable release

0.0.1 Aug 28, 2023

#17 in #wii

46 downloads per month

MIT license

29KB
443 lines

wiitrig

Wii sin/cos implementation

Details

The following two helpers are provided:

pub fn wii_sin(x: f32) -> f32;
pub fn wii_cos(x: f32) -> f32;

C Bindings

Usage in C/C++ projects is available by including wiitrig.h

The following two helpers are provided:

float wii_sin(float x);
float wii_cos(float x);

Dependencies

~0–2MB
~38K SLoC