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); }
private void LoadSpringContent(GraphicsDevice graphicsDevice) { _springLineBrush = new LineBrush(_springLineThickness, _springLineColor); _springCircleBrush = new CircleBrush(2, _springLineColor, _springLineColor); _springLineBrush.Load(graphicsDevice); _springCircleBrush.Load(graphicsDevice); }
private void LoadCoordinateAxisContent(GraphicsDevice graphicsDevice) { _coordinateAxisLineBrush = new LineBrush(_coordinateAxisLineThickness, _coordinateAxisColor); _coordinateAxisLineBrush.Load(graphicsDevice); }
private void LoadAABBContent(GraphicsDevice graphicsDevice) { //load aabb texture _aabbLineBrush = new LineBrush(_aabbLineThickness, _aabbColor); _aabbLineBrush.Load(graphicsDevice); }
private void LoadEdgeContent(GraphicsDevice graphicsDevice) { _edgeLineBrush = new LineBrush(_edgeLineThickness, _edgeColor); _edgeLineBrush.Load(graphicsDevice); }