Nugget
Loading...
Searching...
No Matches
Public Attributes | List of all members
psyqo::HelixSelector::Slot Struct Reference

One visible item. More...

#include <psyqo/helix-selector.hh>

Collaboration diagram for psyqo::HelixSelector::Slot:
Collaboration graph
[legend]

Public Attributes

unsigned index
 
Vertex a
 
Vertex b
 
Vertex c
 
Vertex d
 
Vertex glyph
 
FixedPoint scale
 
FixedPoint fade
 

Detailed Description

One visible item.

a, b, c, d are the corners of the annular sector, already in the Z order psyqo::Quad wants. glyph is where to centre whatever you draw on top of it, upright. scale is the perspective ratio, 1.0 at the cursor, bigger toward the camera and smaller away from it - use it to size your glyph. fade is 0..1 and only ramps at the far end of the strip; use it for colour.

Member Data Documentation

◆ a

Vertex psyqo::HelixSelector::Slot::a

◆ b

Vertex psyqo::HelixSelector::Slot::b

◆ c

Vertex psyqo::HelixSelector::Slot::c

◆ d

Vertex psyqo::HelixSelector::Slot::d

◆ fade

FixedPoint psyqo::HelixSelector::Slot::fade

◆ glyph

Vertex psyqo::HelixSelector::Slot::glyph

◆ index

unsigned psyqo::HelixSelector::Slot::index

◆ scale

FixedPoint psyqo::HelixSelector::Slot::scale

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