getTextureWidth method

int getTextureWidth()

The edge length, in texels, of the joints texture produced by getJointsTexture.

Implementation

int getTextureWidth() {
  return _getNextPowerOfTwoSize(sqrt(joints.length * 4).ceil());
}