Author Topic: Matrix methods  (Read 3143 times)

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Matrix methods
« on: February 17, 2007, 12:10:45 am »
Nothing that is "required", but i thought I would suggest them...

matrix.reset() <- return matrix to original state, without making new instance.
matrix.set(anothermatrix) <- set matrix values to another, without a new instance.

Probably possible with get/setDump() anyway though;)
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11769
    • View Profile
    • http://www.jpct.net
Re: Matrix methods
« Reply #1 on: February 17, 2007, 11:04:16 am »
Quote from: "cyberkilla"

matrix.reset() <- return matrix to original state, without making new instance.
Like Matrix.setIdentity();  :?:

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Matrix methods
« Reply #2 on: February 17, 2007, 12:24:53 pm »
Oh, i didnt see that:)
That one is covered;).

The matrix.set() might be useful to people.
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11769
    • View Profile
    • http://www.jpct.net
Matrix methods
« Reply #3 on: February 17, 2007, 06:11:58 pm »
Yes, i'll add it. That will be much better than the stupid getDump() /setDump-combination.