POV-Ray : Newsgroups : povray.pov4.discussion.general : Scale Postfixes : Re: Scale Postfixes Server Time
23 Feb 2024 18:36:11 EST (-0500)
  Re: Scale Postfixes  
From: Chambers
Date: 4 Aug 2009 21:58:03
Message: <4a78e72b$1@news.povray.org>
David H. Burns wrote:
> "Rad" and "deg" for angles and rotation 
> *would* be useful.

They're already implemented.

// Declares the variable rad to be 45 degrees converted into radians.
#declare rad = radians(45);

// Declares the variable deg to be 0.3 radians converted into degrees.
#declare deg = degrees(0.3);

-- 
Chambers


Post a reply to this message

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