mirror of
https://github.com/stevenhowes/GoRetro.git
synced 2026-05-26 15:53:31 +01:00
Render sprites from sprite sheets (no animation yet)
This commit is contained in:
@@ -7,6 +7,11 @@ type Vector struct {
|
||||
Y float64
|
||||
}
|
||||
|
||||
type VectorInt32 struct {
|
||||
X int32
|
||||
Y int32
|
||||
}
|
||||
|
||||
func vectorAdd(v1, v2 Vector) Vector {
|
||||
return Vector{
|
||||
X: v1.X + v2.X,
|
||||
|
||||
Reference in New Issue
Block a user