frustrum transform: add explicit float conversion to avoid integer division

I came across this minor issue when I got unexpected results when passing integer arguments to the perspective transform function.