Changed origin to use floats instead of ints to accomodate for scaling.
This commit is contained in:
		| @@ -67,8 +67,8 @@ namespace RecrownedAthenaeum.ScreenSystem | ||||
|             textureBounds.Height = (int)(height * proportion); | ||||
|             textureBounds.X = (width) / 2; | ||||
|             textureBounds.Y = (height) / 2; | ||||
|             origin.X = texture.Width / 2; | ||||
|             origin.Y = texture.Height / 2; | ||||
|             origin.X = texture.Width / 2f; | ||||
|             origin.Y = texture.Height / 2f; | ||||
|         } | ||||
|  | ||||
|         void DoRotate(float deltaf) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user