namankohli1 at gmail.com
Thu Apr 29 12:50:35 PDT 2010
yeah but what i am asking is that lets say i calculate a sin x value which
is floating.Now i need it to be mapped to a pixel.What should I do. Like if
I simply round it all values would be the same.
I need a function that simply does this so i can use it in a recursive
manner to calculate sin(cos(x)) etc...
On Fri, Apr 30, 2010 at 12:19 AM, Jeff Post <j_post at pacbell.net> wrote:
> On Thursday 29 April 2010 09:16, naman kohli wrote:
> > Hello all
> > Actually I wanted to ask how can I get more precision in plotting pixels.
> > Like I am using sin function to generate a floating value and I want it
> > map on the screen.
> > How should I plot it?
> > Simply adding in the pixel column of the screen does'nt work.
> You need to update the screen after plotting the pixels. Have you tried the
> code I sent you?
> SDL mailing list
> SDL at lists.libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL