qc.Math.shear

Prototype

  • number shear(n)

Paramters

Paramter Type Description
n number value
return number n mod 1

Description

n mod 1

Example

    // return 0.837
    var ret = game.math.shear(1.837);