init_identity


Description:

public unowned Matrix? init_identity ()

Initializes this with the identity matrix, i.e.:

  .xx = 1.0, .xy = 0.0, .xz = 0.0, .xw = 0.0
.yx = 0.0, .yy = 1.0, .yz = 0.0, .yw = 0.0
.zx = 0.0, .zy = 0.0, .zz = 1.0, .zw = 0.0
.wx = 0.0, .wy = 0.0, .wz = 0.0, .ww = 1.0

Parameters:

this

a Matrix

Returns:

the initialized Matrix