~andrew-plumb/kicad/kicad

« back to all changes in this revision

Viewing changes to 3d-viewer/3d_draw_basic_functions.h

  • Committer: jean-pierre charras
  • Date: 2013-10-04 14:32:59 UTC
  • mfrom: (4363.1.3 testing)
  • Revision ID: jp.charras@wanadoo.fr-20131004143259-uwro11qhd63wlhj3
3D board display: better rendering of the board: the board polygon outlines (generated by the specctra function which calclaltes outlines) is now used to create the 3D body of the board,
in pcbnew and cvpcb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
void    Draw3D_ZaxisOblongCylinder( wxPoint aAxis1Pos, wxPoint aAxis2Pos,
119
119
                                    int aRadius, int aHeight, int aThickness,
120
120
                                    int aZpos, double aBiuTo3DUnits  );
 
121
/**
 
122
 * Set the current 3D color from a Kicad  color, with optional transparency
 
123
 * @param aColor = a EDA_COLOR_T kicad color index
 
124
 * @param aTransparency = the color transparency (default = 1.0 = no transparency)
 
125
 */
 
126
void SetGLColor( EDA_COLOR_T aColor, double aTransparency = 1.0 );
 
127
 
121
128
 
122
129
#endif      // _3D_DRAW_BASIC_FUNCTIONS_H_