Node: Setting Values Transforms, Next: , Previous: Matrix Inversion, Up: Transform Reference



Setting Values

void set_element (const unsigned short row, const unsigned short col, real r) Function
Sets the element of matrix indicated by the arguments to r.
          Transform t;
          t.set_element(0, 2, -3.45569);
          t.show("t:");
          -| t:
                1       0   -3.46       0
                0       1       0       0
                0       0       1       0
                0       0       0       1