sdf
This commit is contained in:
@@ -48,7 +48,6 @@ pub const Particle = struct {
|
||||
self.acceleration.a.x = xrnr;
|
||||
self.acceleration.a.y = yrnr;
|
||||
self.position.a.x = @floatFromInt(rl.getMouseX() - @divTrunc(self.max_x, 2));
|
||||
std.debug.print("divtrunc x: {}\n,max_x:{}\n", .{ @divTrunc(self.max_x, 2), self.max_x });
|
||||
self.position.a.y = @floatFromInt(rl.getMouseY() - @divTrunc(self.max_y, 2));
|
||||
self.velocity.a.x = 0;
|
||||
self.velocity.a.y = 0;
|
||||
|
||||
Reference in New Issue
Block a user