|
|
Tor Olav Kristensen wrote:
>
> Here's my "Total Overkill" code for calculating position of corners
> for a bevelled box.
If all you want to do is make a bevelled box, use the BevelBox()
macro from my Throughly Useful Macros file.
http://users4.50megs.com/enphilistor/macs.htm
The macro intersects three boxes to produce the beveled box;
the code is much neater.
> // Scalar Triple Product of 3 vectors
> #macro S3Prod(v1, v2, v3)
>
> vdot(v1, vcross(v2, v3))
>
> #end // macro S3Prod
This acutally produces the determinant of the matrix formed by the
three vectors.
Regards,
John
--
ICQ: 46085459
Post a reply to this message
|
|