This commit is contained in:
David Rose 2005-07-20 22:47:11 +00:00
parent 4906263a0e
commit 5003fb5342
3 changed files with 15 additions and 6 deletions

View File

@ -89,12 +89,6 @@ private:
#define NAME vector_LVector4f
#include "vector_src.h"
// Now export each EggMorphList.
EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, EggMorphList<LVector3d>)
EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, EggMorphList<LVector2d>)
EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, EggMorphList<LVector4f>)
typedef EggMorphList<EggMorphVertex> EggMorphVertexList;
typedef EggMorphList<EggMorphNormal> EggMorphNormalList;
typedef EggMorphList<EggMorphTexCoord> EggMorphTexCoordList;

View File

@ -846,6 +846,18 @@ string_tex_gen(const string &string) {
}
}
////////////////////////////////////////////////////////////////////
// Function: EggTexture::as_transform
// Access: Public, Virtual
// Description: Returns this object cross-cast to an EggTransform
// pointer, if it inherits from EggTransform, or NULL if
// it does not.
////////////////////////////////////////////////////////////////////
EggTransform *EggTexture::
as_transform() {
return this;
}
////////////////////////////////////////////////////////////////////
// Function: EggTexture::egg_start_parse_body
// Access: Protected, Virtual

View File

@ -243,6 +243,9 @@ PUBLISHED:
static CombineOperand string_combine_operand(const string &string);
static TexGen string_tex_gen(const string &string);
public:
virtual EggTransform *as_transform();
protected:
virtual bool egg_start_parse_body();