MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Blast / testForLoop

Function testForLoop

sdk/lowlevel/source/NvBlastAsset.cpp:183–220  ·  view source on GitHub ↗

Tests for a loop in a digraph starting at a given graph vertex. Using the implied digraph given by the chunkDescs' parentChunkIndex fields, the graph is walked from the chunk descriptor chunkDescs[chunkIndex], to determine if that walk leads to a loop. Input: chunkDescs - the chunk descriptors chunkIndex - the index of the starting chunk descriptor Return: true if a loop is found, fal

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testForValidTreesFunction · 0.85

Calls 1

isInvalidIndexFunction · 0.85

Tested by

no test coverage detected