Squeak3D Plugin Issues

Andrew C. Greenberg werdna at gate.net
Wed Mar 17 05:51:07 UTC 1999


Checking out B3DEnginePlugin, I had trouble compiling because various 
global variables appeared improperly declared.  It seems that 
B3DShaderPlugin was the culprit, apparently having an older version 
of declareCVarsIn: on the class side which apparently were not 
updated after some variable names were changed.  The following 
appears to lead to a clean compile:


declareCVarsIn: cg
	cg var: 'litVertex' declareC:'float *litVertex'.
	cg var: 'primLight' declareC:'float *primLight'.
	cg var: 'primMaterial' declareC:'float *primMaterial'.
	cg var: 'l2vDirection' declareC:'float l2vDirection[3]'.
	cg var: 'l2vSpecDir' declareC:'float l2vSpecDir[3]'.
	cg var: 'vtxInColor' declareC:'float vtxInColor[4]'.
	cg var: 'vtxOutColor' declareC:'float vtxOutColor[4]'.
	cg var: 'l2vDistance' declareC:'double l2vDistance'.
	cg var: 'lightScale' declareC:'double lightScale'.





More information about the Squeak-dev mailing list