Skip to content

Commit ee6c10c

Browse files
authored
Update DatabaseHandler.cs
1 parent 8f477e5 commit ee6c10c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

DatabaseHandler.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ public async Task<List<Point3D>> GetAllPointsAsync()
3030
{
3131
points.Add(new Point3D
3232
{
33-
ID = reader.GetInt32(0),
34-
X = reader.GetInt32(1),
35-
Y = reader.GetInt32(2),
36-
Z = reader.GetInt32(3)
33+
ID = reader.GetFloat(0),
34+
X = reader.GetFloat(1),
35+
Y = reader.GetFloat(2),
36+
Z = reader.GetFloat(3)
3737
});
3838
}
3939
}
@@ -62,4 +62,4 @@ public async Task AddPointsAsync(List<Point3D> points)
6262
}
6363
}
6464
}
65-
}
65+
}

0 commit comments

Comments
 (0)