Searched refs:getMass (Results 1 – 6 of 6) sorted by relevance
98 final float maxFriction = Math.abs(gravityVector.y) * getMass() in update()152 j /= ((collisionNormal.dot(collisionNormal)) * (1 / getMass())); in resolveCollision()158 entity1Adjust.divide(getMass()); in resolveCollision()197 j /= ((collisionNormal.dot(collisionNormal)) * (1 / getMass() + 1 / otherMass)); in resolveCollision()201 entity1Adjust.divide(getMass()); in resolveCollision()225 public float getMass() { in getMass() method in PhysicsComponent
230 this.steeringValue = steeringValue * getMass(); in steer()238 this.accelerationValue = accelerationValue * getMass(); in accelerate()
77 uint64_t getMass() const { return Mass; } in getMass() function288 BlockMass &getMass() {571 BFI.Working[Node.Index].getMass() = BlockMass::getEmpty();1038 auto &Mass = Working[Loop.Nodes[H].Index].getMass();1046 Working[Loop.getHeader().Index].getMass() = BlockMass::getFull();1067 Working[0].getMass() = BlockMass::getFull();
27 return ScaledNumber<uint64_t>(getMass() + 1, -64); in toScaled()327 I.second.getMass())) in addLoopSuccessorsToDist()381 BlockMass Mass = Working[Source.Index].getMass(); in distributeMass()404 Working[W.TargetNode.Index].getMass() += Taken; in distributeMass()
308 public float getMass() { in getMass() method in PhysicsRigidBody706 capsule.write(getMass(), "mass", 1.0f); in write()
309 public float getMass() { in getMass() method in PhysicsRigidBody657 capsule.write(getMass(), "mass", 1.0f); in write()