POV-Ray : Newsgroups : povray.newusers : rotating a point : rotating a point Server Time
2 Jun 2024 11:58:07 EDT (-0400)
  rotating a point  
From: Latex Spikes
Date: 24 Nov 2012 10:55:01
Message: <web.50b0ecdbdb088a442039b5940@news.povray.org>
Hi, gang.

I'm looking for some help.  I'm trying to create beginning and ending control
points for a spline and I'm having some trouble.  I want to define the points by
rotating them from another point, but not sure how to do it.  Here's the general
idea of what I'm trying to do:


#declare CPs1 = < 0, 10, -1 >;
#declare CPs2 = < 0, 10,  0 >;

#declare CPe1 = < 0, 10, -1 > rotate z*35.3 rotate y*45};
#declare CPe2 = < 0, 10,  0 > rotate z*35.3 rotate y*45};


Any help you can provide would be appreciated.  Thanks!


Post a reply to this message

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