mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Comment cleanup
This commit is contained in:
parent
9617f5f17e
commit
eb2d1f3278
@ -230,9 +230,7 @@ impl Renderer {
|
||||
/// Queue the clearing of the color and depth targets ready for a new frame to be rendered.
|
||||
/// TODO: Make a version of this that doesn't clear the colour target for speed.
|
||||
pub fn clear(&mut self, col: Rgba<f32>) {
|
||||
//self.encoder.clear(&self.tgt_color_view, col.into_array());
|
||||
self.encoder.clear_depth(&self.tgt_depth_view, 1.0);
|
||||
//self.encoder.clear(&self.win_color_view, col.into_array());
|
||||
self.encoder.clear_depth(&self.win_depth_view, 1.0);
|
||||
}
|
||||
|
||||
|
@ -742,7 +742,7 @@ impl<S: Skeleton> FigureState<S> {
|
||||
) {
|
||||
let mat = Mat4::<f32>::identity()
|
||||
* Mat4::translation_3d(pos)
|
||||
* Mat4::rotation_z(-ori.x.atan2(ori.y)) // + f32::consts::PI / 2.0);
|
||||
* Mat4::rotation_z(-ori.x.atan2(ori.y))
|
||||
* Mat4::scaling_3d(Vec3::from(0.8));
|
||||
|
||||
let locals = FigureLocals::new(mat, col);
|
||||
|
Loading…
Reference in New Issue
Block a user