mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Merge 97c669853f
into a113687d56
This commit is contained in:
commit
edd98da621
2
geom.go
2
geom.go
@ -121,7 +121,7 @@ func (g *GeoM) Translate(tx, ty float64) {
|
|||||||
g.ty += ty
|
g.ty += ty
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rotate rotates the matrix by theta.
|
// Rotate rotates the matrix by theta (clockwise).
|
||||||
// The unit is radian.
|
// The unit is radian.
|
||||||
func (g *GeoM) Rotate(theta float64) {
|
func (g *GeoM) Rotate(theta float64) {
|
||||||
if theta == 0 {
|
if theta == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user