Kaba class Random ed
...
Syntax ed
class Random
# constructors
func mut __init__()
# functions
func mut dir() -> vec3
func mut in_ball(r: f32) -> vec3
func mut int(max: i32) -> i32
func mut normal(mean: f32, stddev: f32) -> f32
func mut seed(str: string)
func mut uniform(min: f32, max: f32) -> f32
func mut uniform01() -> f32
# operators
func mut __assign__(o: Random) # Random = Random
Functions ed
- func mut dir() -> vec3
- ...
- func mut in_ball(r: f32) -> vec3
- ...
- func mut int(max: i32) -> i32
- ...
- func mut normal(mean: f32, stddev: f32) -> f32
- ...
- func mut seed(str: string)
- ...
- func mut uniform(min: f32, max: f32) -> f32
- ...
- func mut uniform01() -> f32
- ...