Forgot based zig can just infer types
This commit is contained in:
@ -11,7 +11,7 @@ const Frug = struct {
|
|||||||
@intFromFloat(self.pos.x),
|
@intFromFloat(self.pos.x),
|
||||||
@intFromFloat(self.pos.y),
|
@intFromFloat(self.pos.y),
|
||||||
self.radius,
|
self.radius,
|
||||||
rl.Color.green,
|
.green,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
pub fn init() Frug {
|
pub fn init() Frug {
|
||||||
|
|||||||
Reference in New Issue
Block a user