MCPcopy Create free account
hub / github.com/ImageEngine/cortex / hash

Method hash

src/IECoreScene/MeshPrimitive.cpp:638–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638void MeshPrimitive::hash( MurmurHash &h ) const
639{
640 Primitive::hash( h );
641 m_cornerIds->hash( h );
642 m_cornerSharpnesses->hash( h );
643 m_creaseLengths->hash( h );
644 m_creaseIds->hash( h );
645 m_creaseSharpnesses->hash( h );
646 h.append( m_interpolation );
647 h.append( getInterpolateBoundary() );
648 h.append( getFaceVaryingLinearInterpolation() );
649 h.append( getTriangleSubdivisionRule() );
650}
651
652void MeshPrimitive::topologyHash( MurmurHash &h ) const
653{

Callers 4

testHashMethod · 0.95
testSetInterpolationMethod · 0.95
testHashMethod · 0.95
topologyHashMethod · 0.45

Calls 2

appendMethod · 0.80
hashFunction · 0.50

Tested by 1

testHashMethod · 0.76