Quantcast
Channel: Questions in topic: "round"
Viewing all articles
Browse latest Browse all 87

How to serialize/save a vector3 without all decimals?

$
0
0
First of all I alredy preroundet the decimals to 3 decimals but here is the problem when I serialize the preroundet floats as Vector3: {"TrackingList":[{"p":{"x":-0.1599999964237213,"y":-5.28000020980835,"z":0.05000000074505806}... I want to have 3 decimals, can anyone help me?

Viewing all articles
Browse latest Browse all 87

Trending Articles