-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coal: Don't include hpp/fcl/config.hpp if collision is not enable
Split forward declaration in a standalone header to avoid code duplication in sdf/geometry.hxx.
- Loading branch information
Showing
4 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// | ||
// Copyright (c) 2024 INRIA | ||
// | ||
|
||
#ifndef __pinocchio_parsers_meshloader_fwd_hpp__ | ||
#define __pinocchio_parsers_meshloader_fwd_hpp__ | ||
|
||
#include <memory> | ||
|
||
#ifdef PINOCCHIO_WITH_HPP_FCL | ||
#include <hpp/fcl/config.hh> | ||
#endif // PINOCCHIO_WITH_HPP_FCL | ||
|
||
#ifdef COAL_VERSION | ||
namespace coal | ||
{ | ||
class MeshLoader; | ||
typedef std::shared_ptr<MeshLoader> MeshLoaderPtr; | ||
} // namespace coal | ||
#else | ||
namespace hpp | ||
{ | ||
namespace fcl | ||
{ | ||
class MeshLoader; | ||
typedef std::shared_ptr<MeshLoader> MeshLoaderPtr; | ||
} // namespace fcl | ||
} // namespace hpp | ||
#endif // COAL_VERSION | ||
|
||
#endif // __pinocchio_parsers_meshloader_fwd_hpp__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters