Raised This Month: $ Target: $400
 0% 

[Ayuda] Usar calculo matematico en Pawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LARP
Senior Member
Join Date: Aug 2008
Location: Santiago, Chile
Old 07-04-2012 , 15:31   [Ayuda] Usar calculo matematico en Pawn
#1

Hola, mi idea es lograr detectar la interseccion entre 2 lineas, estas lineas "imaginarias" las creo con EngFunc_TraceLine, como se señala en la siguiente imagen:


Por lo que me señalaron tengo que utilizar un calculo matematico ya que no existe funcion en amxx que logre detectar esto, buscando encontre lo siguiente:

http://mathforum.org/library/drmath/view/63719.html
http://mathforum.org/library/drmath/view/62814.html

El problema es el no lograr aplicarlo, ya que no entiendo como puedo usar esta formula en pawn y no soy muy bueno en matematicas .

Gracias.
__________________
------


Last edited by LARP; 07-04-2012 at 15:36.
LARP is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:48.


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