examples/sphere_hunter: make sure we do not loose fractional part of double.
authorStefan Schmidt <stefan@osg.samsung.com>
Tue, 20 Oct 2015 14:39:42 +0000 (16:39 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Tue, 20 Oct 2015 14:39:42 +0000 (16:39 +0200)
commitdadb9fbee6f2c84e5e8867ab42df0d4d2080a7d3
treedab10d9a6459724002dd34d0f38d4acfee5490b0
parent1d380a6d81081557ffbb1621751578042752a619
examples/sphere_hunter: make sure we do not loose fractional part of double.

When dividing with an int we would loose the fractional part. Better cast to
a double to make clear we want double precision here.

CID: 1327343, 1327344
src/examples/sphere_hunter/evas_3d_sphere_hunter.c