public SimulationObject(Primitive prim, ISceneProvider scene) { Prim = prim; Scene = scene; Inventory = new SimulationObjectInventory(this); }
public SimulationObject(SimulationObject obj) { Scene = obj.Scene; Prim = new Primitive(obj.Prim); Inventory = new SimulationObjectInventory(this); LinkNumber = obj.LinkNumber; frozen = obj.frozen; rotationAxis = obj.rotationAxis; // Skip everything else because it can be lazily reconstructed }