ae ~next-master (2021-11-15T07:19:42.0556092)
Dub
Repo
Point
ae
utils
geometry
Point on a 2D plane.
struct
Point (
T
) {
T
x
;
T
y
;
void
translate
(T dx, T dy);
Point
!
T
getCenter
();
}
Members
Functions
getCenter
Point
!
T
getCenter
()
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void
translate
(T dx, T dy)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
x
T
x
;
y
T
y
;
The coordinates.
Meta
Source
See Implementation
ae
utils
geometry
enums
ShapeKind
functions
circle
dist
dist2
intersects
point
rect
shape
sqrtx
manifest constants
TAU
structs
Circle
Point
Rect
Shape
Point on a 2D plane.