Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ repos:
- id: cmake-format
exclude: cmake/CodeCoverage.cmake
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.48.0
rev: v0.49.1
hooks:
- id: markdownlint
args: [-f]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v22.1.4
rev: v23.1.2
hooks:
- id: clang-format
types_or: [c++, c, cuda]
2 changes: 1 addition & 1 deletion src/Core/Geometry/TriangleMesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class RA_CORE_API PointCloud : public AttribArrayGeometry
class RA_CORE_API LineStrip : public AttribArrayGeometry
{};

inline AttribArrayGeometry ::AttribArrayGeometry( const AttribArrayGeometry& other ) :
inline AttribArrayGeometry::AttribArrayGeometry( const AttribArrayGeometry& other ) :
AbstractGeometry( other ) {
m_vertexAttribs.copyAllAttributes( other.m_vertexAttribs );
m_verticesHandle = other.m_verticesHandle;
Expand Down
4 changes: 2 additions & 2 deletions src/Engine/Data/Mesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class IndexedAttribArrayDisplayable : public AttribArrayDisplayable, public VaoI
const typename Ra::Core::Utils::Attrib<T>::Container& data );
template <typename T>
inline void addAttrib( const std::string& name,
const typename Ra::Core ::Utils::Attrib<T>::Container&& data );
const typename Ra::Core::Utils::Attrib<T>::Container&& data );
inline void updateGL() override;

inline void render( const ShaderProgram* prog ) override;
Expand Down Expand Up @@ -576,7 +576,7 @@ template <typename I>
template <typename T>
void IndexedAttribArrayDisplayable<I>::addAttrib(
const std::string& name,
const typename Ra::Core ::Utils::Attrib<T>::Container&& data ) {
const typename Ra::Core::Utils::Attrib<T>::Container&& data ) {
auto handle = m_attribManager.addAttrib<T>( name );
m_attribManager.getAttrib( handle ).setData( std::move( data ) );
m_handleToBuffer[name] = m_dataDirty.size();
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/Utils/KeyMappingManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ std::string KeyMappingManager::getContextName( const Context& context ) {
auto contextFindItr = std::find_if(
std::begin( m_contextNameToIndex ),
std::end( m_contextNameToIndex ),
[&]( const ContextNameMap ::value_type& pair ) { return pair.second == context; } );
[&]( const ContextNameMap::value_type& pair ) { return pair.second == context; } );

if ( contextFindItr != std::end( m_contextNameToIndex ) ) { return contextFindItr->first; }
return "Invalid";
Expand Down
Loading