should a directional light even have roll?
This commit is contained in:
13
src/main.rs
13
src/main.rs
@@ -265,10 +265,15 @@ pub fn entity_loading(world: &mut World, renderer: &mut Renderer) {
|
||||
let light_mesh = renderer.load_mesh_to_buffer("./resources/light.obj");
|
||||
|
||||
let light_entity: Entity = world.push((
|
||||
cgmath::Point3 {
|
||||
x: 5.0 as f32,
|
||||
y: 5.0 as f32,
|
||||
z: 5.0 as f32,
|
||||
Position {
|
||||
x: 0.0,
|
||||
y: 0.0,
|
||||
z: 0.0,
|
||||
rot: Euler {
|
||||
x: Deg(0.0),
|
||||
y: Deg(-25.0),
|
||||
z: Deg(0.0)
|
||||
}
|
||||
},
|
||||
Color {
|
||||
r: 1.0,
|
||||
|
||||
Reference in New Issue
Block a user