MCPcopy Create free account
hub / github.com/axmolengine/axmol / local2World

Method local2World

core/physics/PhysicsBody.cpp:915–918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913}
914
915Vec2 PhysicsBody::local2World(const Vec2& point)
916{
917 return PhysicsHelper::cpv2vec2(cpBodyLocalToWorld(_cpBody, PhysicsHelper::vec22cpv(point)));
918}
919
920void PhysicsBody::beforeSimulation(const Mat4& parentToWorldTransform,
921 const Mat4& nodeToWorldTransform,

Callers 4

constructMethod · 0.80
createConstraintsMethod · 0.80
clipPolyMethod · 0.80

Calls 1

cpBodyLocalToWorldFunction · 0.85

Tested by 1

clipPolyMethod · 0.64