public void Visit(OmniLight3D omni) { _decoratedLight = new REOmniLight(omni, ToAbsolute(omni.Position), _context.Scene); }
public void Visit(Light3DComposite composite) { _context.PushCoordinateSystem(composite.CoordinateSystem); RELightComposite decorated = new RELightComposite(composite, _context.Scene); foreach (Light3D child in composite) { child.AcceptVisitor(this); decorated.Add(this._decoratedLight); } _context.PopCoordinateSystem(); _decoratedLight = decorated; }