Time for a wee bit of math (minimap)

Ok,

We have the X position:
- getMapXPos()

this is a fraction of the overall display:

(getMapXPos() / getMapWidth())
multiply by the width of the display.

Making sure to order them such that there is never a zero value
for the multiplication.

About this Entry

This page contains a single entry by Pete Shanahan published on April 20, 2004 8:43 PM.

More palm5/6 woes was the previous entry in this blog.

Testing is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.