Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2003, 07:59 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

Quote:
Originally Posted by Edgar1898
good catch! I'll fix that tonight
Thanks.

To be honest, I was in the process of replacing it with some expiremental code when I noticed it...

expiremental code:
Code:
	float xDiff=(x_pos-x);
	float yDiff=(y_pos-y);
	float zDiff=(z_pos-z);
	
	float calctemp;
	float calcdist;

	__asm 
	{
		fld		xDiff
		fmul	xDiff
		fst		calctemp
		fld		yDiff
		fmul	yDiff
		fadd	calctemp
		fst		calctemp
		fld		zDiff
		fmul	zDiff
		fadd	calctemp
		fsqrt
		fst		calcdist
	}
	return calcdist;
So far, it seems to work correctly.
__________________
Maybe I should try making one of these servers...
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:43 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3