Float precision
2 posters
Blokworld :: Development :: Information
Page 1 of 1
Float precision
Slaihne, how do you go over not good float precision?
You use player coordinates (when we start new game we select start coords from [~17k; ~45k]) such near to bugs with precision. In my engine they are about 50k.
P.s. you use +17k coords because engine can't work with negative coords, aren't you?
You use player coordinates (when we start new game we select start coords from [~17k; ~45k]) such near to bugs with precision. In my engine they are about 50k.
P.s. you use +17k coords because engine can't work with negative coords, aren't you?
ArchiDevil- Posts : 21
Join date : 2011-07-26
Re: Float precision
I'll probably have issues with float precision at some stage since i haven't done anything out of the ordinary to deal with it. I'll probably end up moving over to an int / float pair to hold coordinates, or something similar.
And yes, my engine doesn't like negative coords. Well to be precise, it doesn't like the cross over from 1 to -1.
And yes, my engine doesn't like negative coords. Well to be precise, it doesn't like the cross over from 1 to -1.
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Blokworld :: Development :: Information
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Fri Jul 01, 2016 7:25 am by croxxx
» Source?
Thu Jul 12, 2012 9:55 am by raistlinthewiz
» Version Available (Take 2)
Sat Jun 09, 2012 3:23 am by kamild1996
» Terrain Rendering Bug
Thu May 17, 2012 8:07 am by sackboy789
» Mystery Block!
Thu Mar 29, 2012 4:42 am by Corvin73
» Your procedural tree/plant seeding technique?
Sat Mar 24, 2012 3:10 am by Slaihne
» Voxeliq project
Wed Mar 07, 2012 4:25 am by raistlinthewiz
» What is a Tech-Test?
Wed Jan 18, 2012 12:32 pm by joeydmars
» Images
Fri Jan 06, 2012 6:02 am by croxxx