3 releases

0.0.4 Jul 25, 2024
0.0.3 Jun 14, 2024
0.0.1 Aug 28, 2023

#658 in Game dev

47 downloads per month
Used in 2 crates (via brres-sys)

MIT license

29KB
451 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–2.2MB
~41K SLoC