Pico Headers
Loading...
Searching...
No Matches
Public Attributes | List of all members
ph_poly_t Struct Reference

A polygon shape Must use CCW (counter-clockwise) winding. More...

#include <pico_hit.h>

Collaboration diagram for ph_poly_t:
Collaboration graph
[legend]

Public Attributes

int vertex_count
 Number of vertices in polygon.
 
pv2 vertices [PICO_HIT_MAX_POLY_VERTS]
 Polygon vertices.
 
pv2 normals [PICO_HIT_MAX_POLY_VERTS]
 Polygon edge normals.
 
pv2 edges [PICO_HIT_MAX_POLY_VERTS]
 Edges of polygon.
 

Detailed Description

A polygon shape Must use CCW (counter-clockwise) winding.

Member Data Documentation

◆ vertex_count

int ph_poly_t::vertex_count

Number of vertices in polygon.

◆ vertices

pv2 ph_poly_t::vertices[PICO_HIT_MAX_POLY_VERTS]

Polygon vertices.

◆ normals

pv2 ph_poly_t::normals[PICO_HIT_MAX_POLY_VERTS]

Polygon edge normals.

◆ edges

pv2 ph_poly_t::edges[PICO_HIT_MAX_POLY_VERTS]

Edges of polygon.


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