From 910f59cc0f07012bcc1db1a8de8cd5377e8549c5 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Fri, 23 Aug 2024 15:27:00 +0200 Subject: [PATCH] Use integers for coordinates --- cura/plugins/v0/point2d.proto | 4 ++-- cura/plugins/v0/point3d.proto | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cura/plugins/v0/point2d.proto b/cura/plugins/v0/point2d.proto index e77cca2..283fdf5 100644 --- a/cura/plugins/v0/point2d.proto +++ b/cura/plugins/v0/point2d.proto @@ -3,6 +3,6 @@ syntax = "proto3"; package cura.plugins.v0; message Point2D { - float x = 1; - float y = 2; + sint64 x = 1; + sint64 y = 2; } diff --git a/cura/plugins/v0/point3d.proto b/cura/plugins/v0/point3d.proto index 11d1869..0ff8ff8 100644 --- a/cura/plugins/v0/point3d.proto +++ b/cura/plugins/v0/point3d.proto @@ -3,7 +3,7 @@ syntax = "proto3"; package cura.plugins.v0; message Point3D { - float x = 1; - float y = 2; - float z = 3; + sint64 x = 1; + sint64 y = 2; + sint64 z = 3; }