Esempio n. 1
0
static void soy_joints_plane2_d_real_create (soyjointsJoint* base) {
	soyjointsPlane2D * self;
	soyscenesScene* _tmp0_;
	struct dxWorld* _tmp1_;
	struct dxJoint* _tmp2_;
	self = (soyjointsPlane2D*) base;
	_tmp0_ = ((soyjointsJoint*) self)->scene;
	_tmp1_ = _tmp0_->world;
	_tmp2_ = dJointCreatePlane2D (_tmp1_, NULL);
	_dJointDestroy0 (((soyjointsJoint*) self)->joint);
	((soyjointsJoint*) self)->joint = _tmp2_;
}
Esempio n. 2
0
static void soy_joints_plane2_d_real_create (soyjointsJoint* base) {
	soyjointsPlane2D * self;
	struct dxWorld* _tmp0_ = NULL;
	struct dxJoint* _tmp1_ = NULL;
#line 28 "/home/jeff/Documents/libraries/libsoy/src/joints/Plane2D.gs"
	self = (soyjointsPlane2D*) base;
#line 29 "/home/jeff/Documents/libraries/libsoy/src/joints/Plane2D.gs"
	_tmp0_ = soy_scenes__world;
#line 29 "/home/jeff/Documents/libraries/libsoy/src/joints/Plane2D.gs"
	_tmp1_ = dJointCreatePlane2D (_tmp0_, NULL);
#line 29 "/home/jeff/Documents/libraries/libsoy/src/joints/Plane2D.gs"
	_dJointDestroy0 (((soyjointsJoint*) self)->joint);
#line 29 "/home/jeff/Documents/libraries/libsoy/src/joints/Plane2D.gs"
	((soyjointsJoint*) self)->joint = _tmp1_;
#line 198 "Plane2D.c"
}