Searched refs:numInstancesStr (Results 1 – 1 of 1) sorted by relevance
196 string numInstancesStr = de::toString(m_numInstances) + ".0"; in init() local206 …posExpression = "a_position + vec4(float(gl_InstanceID) * 2.0 / " + numInstancesStr + ", 0.0, 0.0,… in init()207 colorRExpression = "float(gl_InstanceID)/" + numInstancesStr; in init()211 colorGExpression = "float(gl_InstanceID)*2.0/" + numInstancesStr; in init()212 colorBExpression = "1.0 - float(gl_InstanceID)/" + numInstancesStr; in init()