21.06.2014 Views

GLSL Spec

GLSL Spec

GLSL Spec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8 Built-in Functions<br />

Syntax<br />

mat2 inverse (mat2 m)<br />

mat3 inverse (mat3 m)<br />

mat4 inverse (mat4 m)<br />

Description<br />

Returns a matrix that is the inverse of m. The input<br />

matrix m is not modified. The values in the returned<br />

matrix are undefined if m is singular or poorlyconditioned<br />

(nearly singular).<br />

129

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!