I've been banging my head against the wall for a while now attempting to figure out how to draw my objects. The problem is that I don't understand how to convert from objects in meters to data that I can actually paint with. The tutorials all seem to gloss over the math. Like why do you need to factor in the screen width?
Can someone please explain the math?
If anyone has some sample code painting a simulation with JFrame that would be awesome.
Thanks.
Can someone please explain the math?
If anyone has some sample code painting a simulation with JFrame that would be awesome.
Thanks.