open_toontown_panda3d/panda/src/putil/vector_float.h

31 lines
950 B
C++

// Filename: vector_float.h
// Created by: drose (10May00)
//
////////////////////////////////////////////////////////////////////
#ifndef VECTOR_FLOAT_H
#define VECTOR_FLOAT_H
#include <pandabase.h>
#include <vector>
////////////////////////////////////////////////////////////////////
// Class : vector_float
// Description : A vector of floats. This class is defined once here,
// and exported to PANDA.DLL; other packages that want
// to use a vector of this type (whether they need to
// export it or not) should include this header file,
// rather than defining the vector again.
////////////////////////////////////////////////////////////////////
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, std::vector<float>)
typedef vector<float> vector_float;
// Tell GCC that we'll take care of the instantiation explicitly here.
#ifdef __GNUC__
#pragma interface
#endif
#endif