My bad. 
I mean Point is float type. 0.5 is double type and should use 0.5f