Just a bit of renaming.

This commit is contained in:
curt
2003-05-14 19:31:53 +00:00
parent 1ae257944b
commit dd080de16c
4 changed files with 41 additions and 41 deletions

View File

@@ -28,8 +28,8 @@
#include "apt_signs.hxx"
ssgBranch *gen_taxi_sign( SGMaterialLib *matlib,
const string path, const string content )
ssgBranch *sgMakeTaxiSign( SGMaterialLib *matlib,
const string path, const string content )
{
// for demo purposes we assume each element (letter) is 1x1 meter.
// Sign is placed 0.25 meters above the ground
@@ -109,8 +109,8 @@ ssgBranch *gen_taxi_sign( SGMaterialLib *matlib,
}
ssgBranch *gen_runway_sign( SGMaterialLib *matlib,
const string path, const string name )
ssgBranch *sgMakeRunwaySign( SGMaterialLib *matlib,
const string path, const string name )
{
// for demo purposes we assume each element (letter) is 1x1 meter.
// Sign is placed 0.25 meters above the ground

View File

@@ -21,8 +21,8 @@
// $Id$
#ifndef _APT_SIGNS_HXX
#define _APT_SIGNS_HXX
#ifndef _SG_APT_SIGNS_HXX
#define _SG_APT_SIGNS_HXX
#ifndef __cplusplus
@@ -42,13 +42,13 @@ SG_USING_STD(string);
// Generate a taxi sign
ssgBranch *gen_taxi_sign( SGMaterialLib *matlib,
const string path, const string content );
ssgBranch *sgMakeTaxiSign( SGMaterialLib *matlib,
const string path, const string content );
// Generate a runway sign
ssgBranch *gen_runway_sign( SGMaterialLib *matlib,
const string path, const string name );
ssgBranch *sgMakeRunwaySign( SGMaterialLib *matlib,
const string path, const string name );
#endif // _APT_SIGNS_HXX
#endif // _SG_APT_SIGNS_HXX

View File

@@ -47,8 +47,8 @@ static int StrobePostDraw( ssgEntity *e ) {
// Generate a directional light
ssgLeaf *gen_directional_light( sgVec3 pt, sgVec3 dir, sgVec3 up,
const SGMaterial *mat ) {
ssgLeaf *sgMakeDirectionalLight( sgVec3 pt, sgVec3 dir, sgVec3 up,
const SGMaterial *mat ) {
// calculate a vector perpendicular to dir and up
sgVec3 perp;
@@ -575,13 +575,13 @@ static ssgLeaf *gen_normal_line( SGMaterialLib *matlib,
#endif
ssgBranch *gen_directional_lights( const point_list &nodes,
const point_list &normals,
const int_list &pnt_i,
const int_list &nml_i,
SGMaterialLib *matlib,
const string &material,
sgVec3 up )
ssgBranch *sgMakeDirectionalLights( const point_list &nodes,
const point_list &normals,
const int_list &pnt_i,
const int_list &nml_i,
SGMaterialLib *matlib,
const string &material,
sgVec3 up )
{
sgVec3 nup;
sgNormalizeVec3( nup, up );

View File

@@ -21,8 +21,8 @@
// $Id$
#ifndef _PT_LIGHTS_HXX
#define _PT_LIGHTS_HXX
#ifndef _SG_PT_LIGHTS_HXX
#define _SG_PT_LIGHTS_HXX
#ifndef __cplusplus
@@ -51,16 +51,16 @@ typedef int_list::const_iterator int_point_list_iterator;
// Define the various supported light types
typedef enum {
FG_RWYLIGHT_TAXI = 0,
FG_RWYLIGHT_VASI,
FG_RWYLIGHT_EDGE,
FG_RWYLIGHT_TOUCHDOWN,
FG_RWYLIGHT_THRESHOLD,
FG_RWYLIGHT_WHITE,
FG_RWYLIGHT_RED,
FG_RWYLIGHT_GREEN,
FG_RWYLIGHT_YELLOW
} fgRunwayLightType;
SG_RWYLIGHT_TAXI = 0,
SG_RWYLIGHT_VASI,
SG_RWYLIGHT_EDGE,
SG_RWYLIGHT_TOUCHDOWN,
SG_RWYLIGHT_THRESHOLD,
SG_RWYLIGHT_WHITE,
SG_RWYLIGHT_RED,
SG_RWYLIGHT_GREEN,
SG_RWYLIGHT_YELLOW
} sgPointLightType;
// Generate a directional light. This routines creates a
@@ -92,16 +92,16 @@ typedef enum {
// Yes this get's to be long and convoluted. If you can suggest a
// simpler way, please do! :-)
ssgLeaf *gen_directional_light( sgVec3 pt, sgVec3 dir, sgVec3 up );
ssgLeaf *sgMakeDirectionalLight( sgVec3 pt, sgVec3 dir, sgVec3 up );
ssgBranch *gen_directional_lights( const point_list &nodes,
const point_list &normals,
const int_list &pnt_i,
const int_list &nml_i,
SGMaterialLib *matlib,
const string &material,
sgVec3 up );
ssgBranch *sgMakeDirectionalLights( const point_list &nodes,
const point_list &normals,
const int_list &pnt_i,
const int_list &nml_i,
SGMaterialLib *matlib,
const string &material,
sgVec3 up );
#endif // _PT_LIGHTS_HXX
#endif // _SG_PT_LIGHTS_HXX