Fix minor issue in height map

Incompatibility with doubles; height map assumed that PhysBAM would be
compiled without double support. This is fixed by using a cast instead
of explicitly specifying a float: 1.0f ==> (T) 1.0.