POV-Ray : Newsgroups : povray.newusers : Trig problem : Re: Trig problem Server Time
4 Nov 2024 21:26:52 EST (-0500)
  Re: Trig problem  
From: Warp
Date: 16 Mar 2003 16:13:11
Message: <3e74e8e6@news.povray.org>
You have a mistake in your thinking.

  The slope of a line rotated 60 degrees is not 2 (ie. for each unit in
the x direction the line goes up 2 units).

  The fact that the cosine of 60 degrees is 0.5 confused you.

  The slope of a line rotated by 60 degrees is sin(60)/cos(60) which
is about 1.7320508027 (quite different from 2).

-- 
#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.