private void LoadSliderJointContent(GraphicsDevice graphicsDevice) { _sliderJointLineBrush = new LineBrush(_sliderJointLineThickness, _sliderJointColor); _sliderJointRectangleBrush = new RectangleBrush(10, 10, _sliderJointColor, _sliderJointColor); _sliderJointLineBrush.Load(graphicsDevice); _sliderJointRectangleBrush.Load(graphicsDevice); }
private void LoadRevoluteJointContent(GraphicsDevice graphicsDevice) { _revoluteJointLineBrush = new LineBrush(_revoluteJointLineThickness, _revoluteJointColor); _revoluteJointRectangleBrush = new RectangleBrush(10, 10, _revoluteJointColor, _revoluteJointColor); _revoluteJointLineBrush.Load(graphicsDevice); _revoluteJointRectangleBrush.Load(graphicsDevice); }