I am working with very high precision floats and i'm adding them to my buffer as vertices.
I have this 2 points that i'm adding to my buffer
{ x: 0.100000001, y: 0 }
{ x: 0.1, y: 0 }
I drew the buffer as points and i see one point.
I checked the buffer (using the chrome extension WebGL Inspector) and i saw that both x values are 0.10000000149011612
.
I kept on checking and i saw that Float32Array
is the one who is doing it.
Tried using `Float64Array' but unfortunately webgl doesn't work with that.
Is there any solution for high precision vertices in webgl ?