MCPcopy Create free account
hub / github.com/FlansMods/FlansMod / prepareDraw

Method prepareDraw

src/main/java/com/flansmod/client/tmt/Bone.java:390–399  ·  view source on GitHub ↗

Prepares the bones for rendering. This will automatically take the root Bone if it isn't.

()

Source from the content-addressed store, hash-verified

388 * if it isn't.
389 */
390 public void prepareDraw()
391 {
392 if(parentNode != null)
393 parentNode.prepareDraw();
394 else
395 {
396 setAbsoluteRotations();
397 setVectors();
398 }
399 }
400
401 /**
402 * Sets the current rotation of the Bone, not calculating any parent bones in.

Callers

nothing calls this directly

Calls 2

setAbsoluteRotationsMethod · 0.95
setVectorsMethod · 0.95

Tested by

no test coverage detected