I've been converting the 'Big Calm' example over to PB because I thought it'd be a good little project to get used to the commands and get my feet wet. Everything is going fine but because i know no c++ things are progressing slowly and a couple of things have caught me out. However I could have it done tonight if I knew what was going on with a couple of commands (that don't appear to be wrapper in the DLL) - namely GetHWColor, SetHWColor and Clamp. it's the Set/Get that are confusing, as I don't know what is happening here for example:
Code: Select all
hgeColor col1, col2;
col1.SetHWColor(skyTopColors[seq[seq_id]]);
col2.SetHWColor(skyTopColors[seq[seq_id+1]]);
colSkyTop=col2*seq_residue + col1*(1.0f-seq_residue);
col1.SetHWColor(skyBtmColors[seq[seq_id]]);
col2.SetHWColor(skyBtmColors[seq[seq_id+1]]);
colSkyBtm=col2*seq_residue + col1*(1.0f-seq_residue);
Is this returning a value and storing it in col1, or is it storing something in the skyTopColours array? Can't suss it
Cheers