MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / clampZeroOne

Function clampZeroOne

source/NTSC.cpp:375–380  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

373
374//===========================================================================
375inline float clampZeroOne( const float & x )
376{
377 if (x < 0.f) return 0.f;
378 if (x > 1.f) return 1.f;
379 /* ...... */ return x;
380}
381
382//===========================================================================
383inline uint8_t getCharSetBits(int iChar)

Callers 1

initChromaPhaseTablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected