pub fn res() -> f32