pub fn load_float(&mut self, location: i32, data: f32) {
        unsafe {
            gl::Uniform1f(location, data);
        }
    }
// loads a float into a uniform buffer
loads a float into a uniform buffer
loads a float into a uniform buffer
pub fn load_float(&mut self, location: i32, data: f32) {
        unsafe {
            gl::Uniform1f(location, data);
        }
    }
pub fn load_float ( & mut self , location : i32 , data : f32 ) { unsafe { gl :: Uniform1f ( location , data ) ; } }
loads a float into a uniform buffer
loads a float into a uniform buffer
&mut self
location
i32
data
f32
&mut self
location
i32
data
f32