mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
sorry for the newlines
This commit is contained in:
parent
921be2f1e5
commit
f867ea701d
@ -1,41 +1,41 @@
|
||||
// Filename: lmatrix3_ext_src.h
|
||||
// Created by: rdb (12Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LMatrix3::Row>
|
||||
// Description : This class defines the extension methods for
|
||||
// LMatrix3::Row, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LMatrix3)::Row> : public ExtensionBase<FLOATNAME(LMatrix3)::Row> {
|
||||
public:
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LMatrix3>
|
||||
// Description : This class defines the extension methods for
|
||||
// LMatrix3, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LMatrix3)> : public ExtensionBase<FLOATNAME(LMatrix3)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lmatrix3_ext_src.I"
|
||||
// Filename: lmatrix3_ext_src.h
|
||||
// Created by: rdb (12Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LMatrix3::Row>
|
||||
// Description : This class defines the extension methods for
|
||||
// LMatrix3::Row, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LMatrix3)::Row> : public ExtensionBase<FLOATNAME(LMatrix3)::Row> {
|
||||
public:
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LMatrix3>
|
||||
// Description : This class defines the extension methods for
|
||||
// LMatrix3, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LMatrix3)> : public ExtensionBase<FLOATNAME(LMatrix3)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lmatrix3_ext_src.I"
|
||||
|
@ -1,41 +1,41 @@
|
||||
// Filename: lmatrix4_ext_src.h
|
||||
// Created by: rdb (12Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LMatrix4::Row>
|
||||
// Description : This class defines the extension methods for
|
||||
// LMatrix4::Row, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LMatrix4)::Row> : public ExtensionBase<FLOATNAME(LMatrix4)::Row> {
|
||||
public:
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LMatrix4>
|
||||
// Description : This class defines the extension methods for
|
||||
// LMatrix4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LMatrix4)> : public ExtensionBase<FLOATNAME(LMatrix4)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lmatrix4_ext_src.I"
|
||||
// Filename: lmatrix4_ext_src.h
|
||||
// Created by: rdb (12Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LMatrix4::Row>
|
||||
// Description : This class defines the extension methods for
|
||||
// LMatrix4::Row, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LMatrix4)::Row> : public ExtensionBase<FLOATNAME(LMatrix4)::Row> {
|
||||
public:
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LMatrix4>
|
||||
// Description : This class defines the extension methods for
|
||||
// LMatrix4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LMatrix4)> : public ExtensionBase<FLOATNAME(LMatrix4)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lmatrix4_ext_src.I"
|
||||
|
@ -1,30 +1,30 @@
|
||||
// Filename: lpoint2_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LPoint2>
|
||||
// Description : This class defines the extension methods for
|
||||
// LPoint2, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LPoint2)> : public ExtensionBase<FLOATNAME(LPoint2)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lpoint2_ext_src.I"
|
||||
// Filename: lpoint2_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LPoint2>
|
||||
// Description : This class defines the extension methods for
|
||||
// LPoint2, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LPoint2)> : public ExtensionBase<FLOATNAME(LPoint2)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lpoint2_ext_src.I"
|
||||
|
@ -1,30 +1,30 @@
|
||||
// Filename: lpoint3_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LPoint3>
|
||||
// Description : This class defines the extension methods for
|
||||
// LPoint3, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LPoint3)> : public ExtensionBase<FLOATNAME(LPoint3)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lpoint3_ext_src.I"
|
||||
// Filename: lpoint3_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LPoint3>
|
||||
// Description : This class defines the extension methods for
|
||||
// LPoint3, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LPoint3)> : public ExtensionBase<FLOATNAME(LPoint3)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lpoint3_ext_src.I"
|
||||
|
@ -1,30 +1,30 @@
|
||||
// Filename: lpoint4_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LPoint4>
|
||||
// Description : This class defines the extension methods for
|
||||
// LPoint4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LPoint4)> : public ExtensionBase<FLOATNAME(LPoint4)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lpoint4_ext_src.I"
|
||||
// Filename: lpoint4_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LPoint4>
|
||||
// Description : This class defines the extension methods for
|
||||
// LPoint4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LPoint4)> : public ExtensionBase<FLOATNAME(LPoint4)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lpoint4_ext_src.I"
|
||||
|
@ -1,32 +1,32 @@
|
||||
// Filename: lvecBase2_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVecBase2>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVecBase2, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVecBase2)> : public ExtensionBase<FLOATNAME(LVecBase2)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvecBase2_ext_src.I"
|
||||
// Filename: lvecBase2_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVecBase2>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVecBase2, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVecBase2)> : public ExtensionBase<FLOATNAME(LVecBase2)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvecBase2_ext_src.I"
|
||||
|
@ -1,32 +1,32 @@
|
||||
// Filename: lvecBase3_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVecBase3>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVecBase3, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVecBase3)> : public ExtensionBase<FLOATNAME(LVecBase3)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvecBase3_ext_src.I"
|
||||
// Filename: lvecBase3_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVecBase3>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVecBase3, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVecBase3)> : public ExtensionBase<FLOATNAME(LVecBase3)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvecBase3_ext_src.I"
|
||||
|
@ -1,44 +1,44 @@
|
||||
// Filename: lvecBase4_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVecBase4>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVecBase4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVecBase4)> : public ExtensionBase<FLOATNAME(LVecBase4)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<UnalignedLVecBase4>
|
||||
// Description : This class defines the extension methods for
|
||||
// UnalignedLVecBase4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(UnalignedLVecBase4)> : public ExtensionBase<FLOATNAME(UnalignedLVecBase4)> {
|
||||
public:
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
};
|
||||
|
||||
#include "lvecBase4_ext_src.I"
|
||||
// Filename: lvecBase4_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVecBase4>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVecBase4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVecBase4)> : public ExtensionBase<FLOATNAME(LVecBase4)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__reduce__(PyObject *self) const;
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<UnalignedLVecBase4>
|
||||
// Description : This class defines the extension methods for
|
||||
// UnalignedLVecBase4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(UnalignedLVecBase4)> : public ExtensionBase<FLOATNAME(UnalignedLVecBase4)> {
|
||||
public:
|
||||
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
|
||||
};
|
||||
|
||||
#include "lvecBase4_ext_src.I"
|
||||
|
@ -1,30 +1,30 @@
|
||||
// Filename: lvector2_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVector2>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVector2, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVector2)> : public ExtensionBase<FLOATNAME(LVector2)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvector2_ext_src.I"
|
||||
// Filename: lvector2_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVector2>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVector2, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVector2)> : public ExtensionBase<FLOATNAME(LVector2)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvector2_ext_src.I"
|
||||
|
@ -1,30 +1,30 @@
|
||||
// Filename: lvector3_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVector3>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVector3, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVector3)> : public ExtensionBase<FLOATNAME(LVector3)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvector3_ext_src.I"
|
||||
// Filename: lvector3_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVector3>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVector3, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVector3)> : public ExtensionBase<FLOATNAME(LVector3)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvector3_ext_src.I"
|
||||
|
@ -1,30 +1,30 @@
|
||||
// Filename: lvector4_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVector4>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVector4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVector4)> : public ExtensionBase<FLOATNAME(LVector4)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvector4_ext_src.I"
|
||||
// Filename: lvector4_ext_src.h
|
||||
// Created by: rdb (13Sep13)
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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."
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : Extension<LVector4>
|
||||
// Description : This class defines the extension methods for
|
||||
// LVector4, which are called instead of
|
||||
// any C++ methods with the same prototype.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
template<>
|
||||
class Extension<FLOATNAME(LVector4)> : public ExtensionBase<FLOATNAME(LVector4)> {
|
||||
public:
|
||||
INLINE_LINMATH PyObject *__getattr__(const string &attr_name) const;
|
||||
INLINE_LINMATH int __setattr__(PyObject *self, const string &attr_name, PyObject *assign);
|
||||
INLINE_LINMATH void python_repr(ostream &out, const string &class_name) const;
|
||||
};
|
||||
|
||||
#include "lvector4_ext_src.I"
|
||||
|
Loading…
x
Reference in New Issue
Block a user