Changed int to float in Mesh definition.