|
NAMEM_Circle —
Agar-Math sphere structure
SYNOPSIS#include <agar/math.h> DESCRIPTIONThe M_Sphere structure describes a sphere in terms of an origin point p and a radius r:typedef struct m_sphere { M_Vector3 p; M_Real r; } M_Sphere; INITIALIZATIONM_SphereM_SphereFromPt (M_Vector
p, M_Real r);
The The The COMPUTATIONSM_RealM_SpherePointDistance (M_Sphere
S, M_Vector3 p);
The
SEE ALSOAG_DataSource(3), AG_Intro(3), M_Circle(3), M_Geometry(3), M_Plane(3), M_Polygon(3), M_Rectangle(3), M_Sphere(3), M_Triangle(3), M_Vector(3)HISTORYTheM_Circle structure first appeared in Agar 1.3.4.
Visit the GSP FreeBSD Man Page Interface. |