POV-Ray : Newsgroups : povray.general : Buggy trig? : Re: Buggy trig? Server Time
9 Aug 2024 23:21:59 EDT (-0400)
  Re: Buggy trig?  
From: Philippe Debar
Date: 6 Jun 2000 12:11:48
Message: <393d22c4$1@news.povray.org>
// From my own macros
// (not made public because they are either very simple or quite esoteric)
// (but I post them whenever someone might need them)
// Povingly,
// Philippe Debar



// Tired of degrees/radians conversions? try these!

#macro sind(A)
  (sin(radians(A)))
#end

#macro cosd(A)
  (cos(radians(A)))
#end

#macro tand(A)
  (tan(radians(A)))
#end

#macro asind(A)
  (degrees(asin(A)))
#end

#macro acosd(A)
  (degrees(acos(A)))
#end

#macro atan2d(A,B)
  (degrees(atan2(A,B)))
#end


Post a reply to this message

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