ae v0.0.3053 (2021-06-01T17:26:23Z)
Home
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.