Expand description
§Eloi Crate
Hello guys,
this is a simple crate that I created to test the creation of a crate in Rust.
This is my first one.
https://github.com/EloiStree/HelloRustBending
May the code be with you :)
Re-exports§
pub use self::utils::random_println;
Modules§
Functions§
- gamepad_
to_ integer - Returns a integer that represents the gamepad input with front it, left stick x, left stick y, right stick x, right stick y (Right Rotation), (Down Up), (Left, Right), (Back, Front)
- get_
random_ float - Returns a random float between -1.0 and 1.0
- parse_
percent11_ to_ integer99 - Converts a float between -1.0 and 1.0 to a integer between 0 and 99 digits Quick Example
- test_
gamepad_ to_ integer - Test in console debug the methode of gamepad to integer