URDF import demo: add COLLADA .dae file support add FiniteElementMethod demo, extracted from the OpenTissue library (under the zlib license) don't crash if loading an invalid STL file add comparison with Assimp for COLLADA file loading (disabled by default, to avoid library dependency) Gwen: disable some flags that make the build incompatible
34 lines
806 B
C++
34 lines
806 B
C++
#ifndef OPENTISSUE_DYNAMICS_FEM_FEM_RESET_ORIENTATION_H
|
|
#define OPENTISSUE_DYNAMICS_FEM_FEM_RESET_ORIENTATION_H
|
|
//
|
|
// OpenTissue Template Library
|
|
// - A generic toolbox for physics-based modeling and simulation.
|
|
// Copyright (C) 2008 Department of Computer Science, University of Copenhagen.
|
|
//
|
|
// OTTL is licensed under zlib: http://opensource.org/licenses/zlib-license.php
|
|
//
|
|
#include <OpenTissue/configuration.h>
|
|
|
|
namespace OpenTissue
|
|
{
|
|
namespace fem
|
|
{
|
|
namespace detail
|
|
{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
template<typename tetrahedron_type>
|
|
inline void reset_orientation_single(tetrahedron_type* T)
|
|
{
|
|
T->m_Re = math::diag(1.0);
|
|
}
|
|
|
|
} // namespace detail
|
|
} // namespace fem
|
|
} // namespace OpenTissue
|
|
|
|
//OPENTISSUE_DYNAMICS_FEM_FEM_RESET_ORIENTATION_H
|
|
#endif
|