Function cgl_rs::graphics::widgets::enable_diffuse_shading
source · pub fn enable_diffuse_shading(light_pos: Vector3, light_color: Vector3)
Expand description
Enables diffuse shading for the current frame.
Arguments
light_pos
- AVector3
representing the position of the light source.light_color
- AVector3
representing the color of the light source.