3D viewer code cleaning round 2.1.
This commit is contained in:
parent
1eba0c435b
commit
9e22499350
|
@ -2,7 +2,7 @@
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2015-2016 Mario Luzeiro <mrluzeiro@ua.pt>
|
* Copyright (C) 2015-2016 Mario Luzeiro <mrluzeiro@ua.pt>
|
||||||
* Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 2020-2020 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -34,11 +34,8 @@
|
||||||
#include "../raypacket.h"
|
#include "../raypacket.h"
|
||||||
|
|
||||||
|
|
||||||
class CGENERICACCELERATOR
|
class CGENERICACCELERATOR
|
||||||
{
|
{
|
||||||
protected:
|
|
||||||
CBBOX m_bbox;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CGENERICACCELERATOR( );
|
CGENERICACCELERATOR( );
|
||||||
virtual ~CGENERICACCELERATOR();
|
virtual ~CGENERICACCELERATOR();
|
||||||
|
@ -53,6 +50,9 @@ public:
|
||||||
HITINFO_PACKET *aHitInfoPacket ) const = 0;
|
HITINFO_PACKET *aHitInfoPacket ) const = 0;
|
||||||
|
|
||||||
virtual bool IntersectP( const RAY &aRay, float aMaxDistance ) const = 0;
|
virtual bool IntersectP( const RAY &aRay, float aMaxDistance ) const = 0;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
CBBOX m_bbox;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _CACCELERATOR_H_
|
#endif // _CACCELERATOR_H_
|
||||||
|
|
Loading…
Reference in New Issue