Define E constant in bevy_pbr::utils
This commit is contained in:
parent
a39364f926
commit
b5ddbd7857
@ -1,6 +1,7 @@
|
||||
#define_import_path bevy_pbr::utils
|
||||
|
||||
const PI: f32 = 3.141592653589793;
|
||||
const E: f32 = 2.718281828459045;
|
||||
|
||||
fn hsv2rgb(hue: f32, saturation: f32, value: f32) -> vec3<f32> {
|
||||
let rgb = clamp(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user