Module _tools

.

Functions

tools.position (m) .
tools.rotation (m) .
tools.direction (m) .
tools.HSLtoRGB (h, s, l) .
tools.RGBtoHSL (r, g, b) .


Functions

tools.position (m)
.

Parameters:

  • m Mat4

Returns:

    Vec3
tools.rotation (m)
.

Parameters:

  • m Mat4

Returns:

    Vec3
tools.direction (m)
.

Parameters:

  • m Mat4

Returns:

    Vec3
tools.HSLtoRGB (h, s, l)
.

Parameters:

  • h
  • s
  • l

Returns:

    Vec3
tools.RGBtoHSL (r, g, b)
.

Parameters:

  • r
  • g
  • b

Returns:

    Vec3
generated by LDoc 1.4.6 Last updated 2017-04-02 18:22:49