POV-Ray : Newsgroups : povray.general : 3D trig hurt brain! (or, Another Stupid Math Question) : Re: 3D trig hurt brain! (or, Another Stupid Math Question) Server Time
11 Sep 2024 19:02:37 EDT (-0400)
  Re: 3D trig hurt brain! (or, Another Stupid Math Question)  
From: Warp
Date: 8 Apr 2002 19:57:02
Message: <3cb22e4e@news.povray.org>
Xplo Eristotle <inq### [at] unforgettablecom> wrote:
> If you have a line (line segment? maybe) with a known length, starting
> at a known set of coordinates, which is then rotated around those
> coordinates by arbitrary amounts around the x and z axes, how do you
> calculate the coordinates of the other end of the line?

  With vrotate() ;)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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