summaryrefslogtreecommitdiffstats
path: root/doxygen
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-17 16:11:50 -0700
committerBrian <[email protected]>2007-01-17 16:11:50 -0700
commiteabb7e66bd6fa9770bcf17833cf9fc6317ae7948 (patch)
tree1f53912e17f281130033f69e4a2ca82cce047d68 /doxygen
parent397b807ad5045c354f3fb2079b7779a6d671dc03 (diff)
New _slang_adapt_call() function.
This is used to modify function calls (when possible) to make the arguments map to the function parameters. This includes "unrolling" vector types and doing casts. Example: vec2 v2 = vec2(1.2, 3.4) ivec3 iv = ivec3(false, v2); Is converted into: ivec3 iv = ivec3(int(false), int(v2[0]), int(v2[1]))
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions