POV-Ray : Newsgroups : povray.off-topic : Games programmers : Re: Games programmers Server Time
10 Oct 2024 17:18:52 EDT (-0400)
  Re: Games programmers  
From: Invisible
Date: 12 Sep 2008 06:05:46
Message: <48ca3efa$1@news.povray.org>
>   I wouldn't call this straightforward:
> 
> fibs = 0 : 1 : zipWith (+) fibs (tail fibs)

OK, well how about this:

   while (TRUE) { cont = (*cont)(); }

I wouldn't exactly call that straightfoward either. It's not *actually* 
complicated, but it sure *looks* pretty baffling.

Alternatively,

   while(*v++ = *s++);

I mean, what THE HELL...?

>> At any rate, presumably you can completely forget Warp's 
>> "don't use pointers" rule if you want to talk to OpenGL - or any other 
>> API designed for C. ;-)
> 
>   I don't recall OpenGL requiring that many pointers either. Just tons
> of straight function calls.

Mmm, actually... yes, doesn't it tend to refer to thing by numerical 
indecies rather than actual pointers?

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.