AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Normalizing a line segment to a quadrangle plane (https://forums.alliedmods.net/showthread.php?t=75289)

Shaman 08-02-2008 15:23

Normalizing a line segment to a quadrangle plane
 
Simply, I have quadrangle plane (Float:plane[4][3]) and a line segment (Float:linesegment[2][3]) and I want to normalize the line segment to the plane. So this:
(I explained in 2D but it should be 3D ofcourse)
http://c.imagehost.org/0249/1_19.png
Should be like this:
http://c.imagehost.org/0314/2_4.png

Exolent[jNr] 08-02-2008 15:36

Re: Normalizing a line segment to a quadrangle plane
 
I would be able to help if I didn't forget my algebra over the summer! :shock:

Shaman 08-02-2008 17:23

Re: Normalizing a line segment to a quadrangle plane
 
Yeah, same happened to my geometry.


All times are GMT -4. The time now is 05:39.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.