>> Maybe that ought to be:
>>
>>
http://news.povray.org/povray.binaries.images/thread/%3Cweb.56e620c88e79eb4c5e7df57c0%40news.povray.org%3E/
>>
>> :O
>
> hmmm... your math differs from the site I was using for information.
His diagram lines are OK, but some of the angles are wrong. Actually so
long as you know the angles of a hexagon (120 degrees), just use
Pythagoras on the lower left triangle (the one with hypotenuse L/2).
(L/2)^2 = (S/2 + S*sin(30))^2 + (Scos(30))^2
(L/2)^2 = (S/2 + S/2 )^2 + 3/4*S^2
(L/2)^2 = 7/4 * S^2
L^2 = 7 * S^2
L = sqrt(7) * S
Post a reply to this message
|