Use float instead of double to save vertex postion for saving memory