Define E constant in bevy_pbr::utils

This commit is contained in:
Marco Buono 2023-05-28 17:17:43 -03:00
parent a39364f926
commit b5ddbd7857

View File

@ -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(