Added explicit cast to btScalar.