mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
collide: create compatibility header collisionTube.h
This is a separate commit from the previous one in order not to confuse Git's rename tracking.
This commit is contained in:
parent
bd6ef2b0ea
commit
e2574af82d
@ -156,13 +156,6 @@ private:
|
||||
friend class CollisionBox;
|
||||
};
|
||||
|
||||
BEGIN_PUBLISH
|
||||
/**
|
||||
* Alias for backward compatibility.
|
||||
*/
|
||||
typedef CollisionCapsule CollisionTube;
|
||||
END_PUBLISH
|
||||
|
||||
#include "collisionCapsule.I"
|
||||
|
||||
#endif
|
||||
|
27
panda/src/collide/collisionTube.h
Normal file
27
panda/src/collide/collisionTube.h
Normal file
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* 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 collisionTube.h
|
||||
* @author rdb
|
||||
* @date 2018-12-23
|
||||
*/
|
||||
|
||||
#ifndef COLLISIONTUBE_H
|
||||
#define COLLISIONTUBE_H
|
||||
|
||||
#include "collisionCapsule.h"
|
||||
|
||||
BEGIN_PUBLISH
|
||||
/**
|
||||
* Alias for backward compatibility.
|
||||
* @deprecated use CollisionCapsule instead.
|
||||
*/
|
||||
typedef CollisionCapsule CollisionTube;
|
||||
END_PUBLISH
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user