void GLC_UniformShaderData::updateAll(const GLC_Context* pContext) { setModelViewProjectionMatrix(pContext->modelViewMatrix(), pContext->projectionMatrix()); setLightingState(pContext->lightingIsEnable()); setColorMaterialState(pContext->colorMaterialIsEnable()); setTwoSidedLight(pContext->twoSidedIsEnable()); QVector<int> enableLightState= pContext->enableLights(); setLightsEnableState(enableLightState); }
void GLC_UniformShaderData::updateAll(const GLC_Context* pContext) { setModelViewProjectionMatrix(pContext->modelViewMatrix(), pContext->projectionMatrix()); setLightingState(pContext->lightingIsEnable()); }