Active Forums => QB64 Discussion => Topic started by: TempodiBasic on August 29, 2021, 02:20:27 pm
Title: PMAP lacks precision
Post by: TempodiBasic on August 29, 2021, 02:20:27 pm
Hi boys and girls of QB64
trying to develope in alternative way my Pong OpenGl demo by using WINDOW and PMAP commands of QB64/QB I got PMAP with loosing precision! please try this code:
and here you can see the output [ This attachment cannot be displayed inline in 'Print Page' view ] Well it seems that we cannot use PMAP for NASA calculation. Please gimme feedbacks.
Title: Re: PMAP lacks precision
Post by: bplus on August 29, 2021, 02:58:20 pm
I think you’re right, as an 800x600 screen runs from 0 to 799 x 0 to 599. Tempodi’s values were off the chart. ;)
Title: Re: PMAP lacks precision
Post by: TempodiBasic on August 29, 2021, 07:24:35 pm
Thanks, It is always better be helped to find own mistakes. So I have misunderstood the range of declaration. My error is that I have thought about dimensions of screen like we do with array so I have thought 800 is like 0-800 because there is no option base to force to start from 1. And so for the other dimension. Thanks to point my conceptual error.