SYNOPSIS
#include <agar/core.h> #include <agar/gui.h> #include <agar/vg.h>
DESCRIPTION
VG_Point is a
VG(3) node class which describes a single point.
INTERFACE ↑
The VG_PointNew() function creates a new point entity attached to parent, with an initial translation specified by pos.
The VG_PointSize() function specifies the size in pixels of the primitive to use for rendering the point. A value of 0.0 (the default) implies that the point is considered construction geometry. The endpoints of a VG_Line(3) are an example of construction geometry. Note that VG_View(3) does provide a Show construction geometry option which causes zero-sized points to be displayed to the user.
SEE ALSO ↑
HISTORY ↑
The
VG_Point class first appeared in
Agar 1.3.3.