naev 0.12.6
CollPolyView Struct Reference

Represents a polygon used for collision detection. More...

#include <collision.h>

Data Fields

float * x
float * y
float xmin
float xmax
float ymin
float ymax
int npt

Detailed Description

Represents a polygon used for collision detection.

Definition at line 13 of file collision.h.

Field Documentation

◆ npt

int CollPolyView::npt

Nb of points in the polygon.

Definition at line 20 of file collision.h.

◆ x

float* CollPolyView::x

List of X coordinates of the points.

Definition at line 14 of file collision.h.

◆ xmax

float CollPolyView::xmax

Max of x.

Definition at line 17 of file collision.h.

◆ xmin

float CollPolyView::xmin

Min of x.

Definition at line 16 of file collision.h.

◆ y

float* CollPolyView::y

List of Y coordinates of the points.

Definition at line 15 of file collision.h.

◆ ymax

float CollPolyView::ymax

Max of y.

Definition at line 19 of file collision.h.

◆ ymin

float CollPolyView::ymin

Min of y.

Definition at line 18 of file collision.h.


The documentation for this struct was generated from the following file: