Remove debug print spam
This commit is contained in:
@@ -290,19 +290,10 @@ pub fn update(self: *Player, dt: f32, chunks: *const Chunks) void {
|
|||||||
const adjustment = hit.normal_frac
|
const adjustment = hit.normal_frac
|
||||||
.asVector2Int()
|
.asVector2Int()
|
||||||
.mulScalarFrac(hit.projected_distance_sv);
|
.mulScalarFrac(hit.projected_distance_sv);
|
||||||
std.debug.print("i={} | pos={X} | n={} | d={X} | adj={X} | disp={X}->", .{
|
|
||||||
i,
|
|
||||||
position_sv.vector,
|
|
||||||
hit.normal_frac.asVector3Frac().vector,
|
|
||||||
hit.projected_distance_sv,
|
|
||||||
adjustment.vector,
|
|
||||||
horizontal_displacement_sv.vector,
|
|
||||||
});
|
|
||||||
horizontal_displacement_sv = .add(
|
horizontal_displacement_sv = .add(
|
||||||
horizontal_displacement_sv,
|
horizontal_displacement_sv,
|
||||||
adjustment,
|
adjustment,
|
||||||
);
|
);
|
||||||
std.debug.print("{X}\n", .{horizontal_displacement_sv.vector});
|
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user