mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
42 lines
1.6 KiB
C++
42 lines
1.6 KiB
C++
// 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"
|