public override void Render() { PreRender(); //Render arrow.Render(); box.Render(); PostRender(); }
public override void Render() { PreRender(); //Renderizar caja if (boxModifier.Value) { box.Render(); } //Mostrar BoundingBox de la caja if (boundingBoxModifier.Value) { box.BoundingBox.Render(); } if (debugBoxModifier.Value) { debugBox.Render(); } PostRender(); }
public override void Render() { PreRender(); //Renderizar caja if (boxModifier.Value) { box.Transform = TGCMatrix.Scaling(box.Scale) * TGCMatrix.RotationYawPitchRoll(box.Rotation.Y, box.Rotation.X, box.Rotation.Z) * TGCMatrix.Translation(box.Position); box.Render(); } //Mostrar BoundingBox de la caja if (boundingBoxModifier.Value) { box.BoundingBox.Render(); } if (debugBoxModifier.Value) { debugBox.Render(); } PostRender(); }