1234567891011121314151617181920212223242526272829 |
- package physics
- import "gitlab.com/beoran/ebsgo/engine/geometry"
- type Camera struct {
- geometry.Rectangle
- }
- /*
- func (cam * Camera) X() float64 {
- return cam.Rectangle.X
- }
- func (cam * Camera) Y() float64 {
- return cam.Rectangle.X
- }
- func (cam * Camera) W() float64 {
- return cam.Rectangle.W
- }
- func (cam * Camera) H() float64 {
- return cam.Rectangle.H
- }
- */
|