Пример #1
0
//------------------------------------------------
void ofxBox2dCircle::addRepulsionForce(float x, float y, float amt) {
	addRepulsionForce(ofVec2f(x, y), amt);
}
Пример #2
0
//----------------------------------------
void ofxBox2dPolygon::addRepulsionForce(float x, float y, float amt) {
	addRepulsionForce(ofVec2f(x, y), amt);
}
Пример #3
0
void ParticleSystem::addRepulsionForce(const Particle& particle, float radius, float scale) {
	addRepulsionForce(particle.x, particle.y, radius, scale);
}
Пример #4
0
//----------------------------------------
void ofxBox2dConvexPoly::addRepulsionForce(float x, float y, float amt) {
	addRepulsionForce(ofVec2f(x, y), amt);
}
Пример #5
0
//------------------------------------------------
void ofxBox2dRect::addRepulsionForce(float fx, float fy, float amt) {
	addRepulsionForce(ofVec2f(fx,fy), amt);
}