Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   matrices (https://forums.graalonline.com/forums/showthread.php?t=25235)

btedji 03-07-2002 08:56 PM

matrices
 
Anyone else think matricies would be a good idea?

Tyhm 03-07-2002 11:54 PM

...?

As in 2d arrays? Got those.

btedji 03-08-2002 08:35 AM

Quote:

Originally posted by Tyhm
...?

As in 2d arrays? Got those.

na like one that can have columns and rows like this:

[0,0,0,0,0 <row 1
0,0,0,0,0 <row 2
0,0,0,0,0 <row 3
0,0,0,0,0] <row 4

Tyhm 03-08-2002 09:38 AM

Yeah, we got those like 3 revisions ago.

btedji 03-08-2002 10:57 AM

Quote:

Originally posted by Tyhm
Yeah, we got those like 3 revisions ago.
Really? Are you sure your not thinking of string arrays or variable arrays? How you do it then? I will try and find it in the newfeatures things.

Kaimetsu 03-08-2002 12:26 PM

You can simulate them but it's icky. We should get multidimensional arrays and functions to which we can pass them. Then I can make 3D rotation matrices without writing a million lines of code =D

btedji 03-08-2002 08:55 PM

Quote:

Originally posted by Kaimetsu
You can simulate them but it's icky. We should get multidimensional arrays and functions to which we can pass them. Then I can make 3D rotation matrices without writing a million lines of code =D
Yea that would be nice, right now youd have to do rows right next to each other then use a forumla like ((rownumber*itemsineachrow)-itemsineachrow)+iteminthatrow
I am doing that right now in one of my scripts and it is very inefficient


All times are GMT +2. The time now is 09:58 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.