naev 0.11.5
CollPoly 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 CollPoly::npt

Nb of points in the polygon.

Definition at line 20 of file collision.h.

◆ x

float* CollPoly::x

List of X coordinates of the points.

Definition at line 14 of file collision.h.

◆ xmax

float CollPoly::xmax

Max of x.

Definition at line 17 of file collision.h.

◆ xmin

float CollPoly::xmin

Min of x.

Definition at line 16 of file collision.h.

◆ y

float* CollPoly::y

List of Y coordinates of the points.

Definition at line 15 of file collision.h.

◆ ymax

float CollPoly::ymax

Max of y.

Definition at line 19 of file collision.h.

◆ ymin

float CollPoly::ymin

Min of y.

Definition at line 18 of file collision.h.


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