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

Function flipV

src/IECoreScene/Primitive.cpp:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141{
142
143void flipV( FloatVectorData *v )
144{
145 for( auto &value : v->writable() )
146 {
147 value = 1.0f - value;
148 }
149}
150
151V2fVectorDataPtr combineUVs( const FloatVectorData *u, const FloatVectorData *v, const IntVectorData *indices )
152{

Callers 1

convertLegacyVariablesFunction · 0.85

Calls 1

writableMethod · 0.45

Tested by

no test coverage detected