www.jpct.net

General => Feedback => Topic started by: cyberkilla on February 17, 2007, 12:10:45 am

Title: Matrix methods
Post by: cyberkilla 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;)
Title: Re: Matrix methods
Post by: EgonOlsen 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();  :?:
Title: Matrix methods
Post by: cyberkilla 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.
Title: Matrix methods
Post by: EgonOlsen on February 17, 2007, 06:11:58 pm
Yes, i'll add it. That will be much better than the stupid getDump() /setDump-combination.