コード例 #1
0
ファイル: Shape.cs プロジェクト: levi1994/LitDev
 protected Shape(ShapeDef def)
 {
     this._userData    = def.UserData;
     this._friction    = def.Friction;
     this._restitution = def.Restitution;
     this._density     = def.Density;
     this._body        = null;
     this._sweepRadius = 0f;
     this._next        = null;
     this._proxyId     = PairManager.NullProxy;
     this._filter      = def.Filter;
     this._isSensor    = def.IsSensor;
 }
コード例 #2
0
ファイル: Shape.cs プロジェクト: more-please/box2dx
 protected Shape(ShapeDef def)
 {
     _userData    = def.UserData;
     _friction    = def.Friction;
     _restitution = def.Restitution;
     _density     = def.Density;
     _body        = null;
     _sweepRadius = 0.0f;
     _next        = null;
     _proxyId     = PairManager.NullProxy;
     _filter      = def.Filter;
     _isSensor    = def.IsSensor;
 }