26 for (
int i = 0; i <
array.Length; i++)
55 _spriteBatch.
Draw(
_texture,
new Vector2(positionAndSize.
X, positionAndSize.
Y), (
Rectangle?)
null, color, 0f,
Vector2.
Zero,
new Vector2(positionAndSize.
Z, positionAndSize.
W) / 4f, (
SpriteEffects)0, 1f);
92 float rotation = (float)
Math.
Atan2(vector.
Y, vector.
X);
94 ((
Vector2)(ref vector2))._002Ector(((
Vector2)(ref vector)).Length(), width);
103 protected virtual void Dispose(
bool disposing)
void Draw(Texture2D texture, Vector2 position, Color color)
override void Dispose(bool disposing)
virtual void Dispose(bool disposing)
void DrawSquare(Vector4 positionAndSize, Color color)
void DrawSquareFromCenter(Vector2 center, Vector2 size, float rotation, Color color)
BasicDebugDrawer(GraphicsDevice graphicsDevice)
void DrawLine(Vector2 start, Vector2 end, float width, Color color)
void DrawSquare(Vector2 position, Vector2 size, Color color)
void Begin(Matrix matrix)
static double Atan2(double y, double x)