POV-Ray : Newsgroups : povray.binaries.images : Tuesday Evening Abstract (66.2kb bu) Server Time
2 Oct 2024 18:23:03 EDT (-0400)
  Tuesday Evening Abstract (66.2kb bu) (Message 11 to 16 of 16)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Ken
Subject: Re: Tuesday Evening Abstract (66.2kb bu)
Date: 19 Apr 2000 15:26:42
Message: <38FE0831.B148FDD@pacbell.net>
Ed Kaiser wrote:
> 
> what is #int ?

int(A) Integer part of A. Returns the truncated integer part of A. Rounds towards
zero.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: SamuelT 
Subject: Re: Tuesday Evening Abstract (66.2kb bu)
Date: 19 Apr 2000 21:51:02
Message: <38FE62CD.5C17B19@aol.com>
In other words if you put #int(3.145) pov will see the number as only 3, without the
decimals.

Ken wrote:

> Ed Kaiser wrote:
> >
> > what is #int ?
>
> int(A) Integer part of A. Returns the truncated integer part of A. Rounds towards
zero.
>
> --
> Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial: http://members.aol.com/stbenge


Post a reply to this message

From: David Fontaine
Subject: Re: Tuesday Evening Abstract (66.2kb bu)
Date: 19 Apr 2000 22:21:51
Message: <38FE6940.C6A58378@faricy.net>
Ooh! Ahh!

--
___     _______________________________________________
 | \     |_          <dav### [at] faricynet> <ICQ 55354965>
 |_/avid |ontaine        http://www.faricy.net/~davidf/

"The only difference between me and a madman is that I'm not mad." -Dali


Post a reply to this message

From: Bob Hughes
Subject: Re: Tuesday Evening Abstract (66.2kb bu)
Date: 20 Apr 2000 02:29:24
Message: <38fea3c4@news.povray.org>
There may be some confusion when saying "#int" instead of just "int".
Can make it look like a new keyword.

Bob

"SamuelT." <STB### [at] aolcom> wrote in message news:38F### [at] aolcom...
| In other words if you put #int(3.145) pov will see the number as only 3, without the
| decimals.
|
| Ken wrote:
|
| > Ed Kaiser wrote:
| > >
| > > what is #int ?
| >
| > int(A) Integer part of A. Returns the truncated integer part of A. Rounds towards
zero.


Post a reply to this message

From: Chris Huff
Subject: Re: Tuesday Evening Abstract (66.2kb bu)
Date: 20 Apr 2000 07:36:31
Message: <chrishuff_99-12EBDB.06392220042000@news.povray.org>
In article <38F### [at] aolcom>, "SamuelT." <STB### [at] aolcom> 
wrote:

> In other words if you put #int(3.145) pov will see the number as only 3, 
> without the decimals.

Not #int(), just int(). No hash sign(#), it is just another built in 
function.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: SamuelT 
Subject: Re: Tuesday Evening Abstract (66.2kb bu)
Date: 21 Apr 2000 00:56:16
Message: <38FFDFBF.18812301@aol.com>
I meant to put just int. I don't use the pound symbol in my code :)

Bob Hughes wrote:

> There may be some confusion when saying "#int" instead of just "int".
> Can make it look like a new keyword.
>
> Bob
>
> "SamuelT." <STB### [at] aolcom> wrote in message news:38F### [at] aolcom...
> | In other words if you put #int(3.145) pov will see the number as only 3, without
the
> | decimals.
> |
> | Ken wrote:
> |
> | > Ed Kaiser wrote:
> | > >
> | > > what is #int ?
> | >
> | > int(A) Integer part of A. Returns the truncated integer part of A. Rounds
towards zero.

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial: http://members.aol.com/stbenge


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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