Skip to content

Commit

Permalink
point - fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
arrufat committed Sep 2, 2024
1 parent 35cd491 commit baba0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/point.zig
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn Point2d(comptime T: type) type {

/// A simple 3D point with floating point coordinates.
pub fn Point3d(comptime T: type) type {
assert(@typeInfo(T) == .Float);
assert(@typeInfo(T) == .float);
return struct {
x: T,
y: T,
Expand Down

0 comments on commit baba0ab

Please sign in to comment.