historical/toontown-classic.git/panda/include/pta_float.h
2024-01-16 11:20:27 -06:00

37 lines
1.2 KiB
C

/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file pta_float.h
* @author drose
* @date 2000-05-10
*/
#ifndef PTA_FLOAT_H
#define PTA_FLOAT_H
#include "pandabase.h"
#include "pointerToArray.h"
#include "vector_float.h"
/**
* A pta of floats. This class is defined once here, and exported to
* PANDA.DLL; other packages that want to use a pta of this type (whether they
* need to export it or not) should include this header file, rather than
* defining the pta again.
*/
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToBase<ReferenceCountedVector<float> >)
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArrayBase<float>)
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArray<float>)
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, ConstPointerToArray<float>)
typedef PointerToArray<float> PTA_float;
typedef ConstPointerToArray<float> CPTA_float;
#endif