Fix light_level and sky_offset being swapped for clouds

This commit is contained in:
Thinkofname 2016-04-01 22:07:21 +01:00
parent 62f33ac712
commit 4978f41a28
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ impl Clouds {
}
}
pub fn draw(&mut self, camera_pos: &Point3<f64>, perspective_matrix: &Matrix4<f32>, camera_matrix: &Matrix4<f32>, sky_offset: f32, light_level: f32, delta: f64) {
pub fn draw(&mut self, camera_pos: &Point3<f64>, perspective_matrix: &Matrix4<f32>, camera_matrix: &Matrix4<f32>, light_level: f32, sky_offset: f32, delta: f64) {
self.offset += delta;
let tex = super::Renderer::get_texture(&self.textures, "steven:environment/clouds");