mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0024001: Stereographic rendering support
Deleted TODOs which were used when branch was built without OpenCL. Modified test case bugs/vis/bug23747_2 (changed textured shape)
This commit is contained in:
@@ -154,7 +154,7 @@ void OpenGl_ShaderManager::UpdateLightSourceStateTo (const OpenGl_ListOfLight* t
|
||||
// function : SetProjectionState
|
||||
// purpose : Sets new state of OCCT projection transform
|
||||
// =======================================================================
|
||||
void OpenGl_ShaderManager::UpdateProjectionStateTo (const Tmatrix3& theProjectionMatrix)
|
||||
void OpenGl_ShaderManager::UpdateProjectionStateTo (const Tmatrix3* theProjectionMatrix)
|
||||
{
|
||||
myProjectionState.Set (theProjectionMatrix);
|
||||
myProjectionState.Update();
|
||||
@@ -164,7 +164,7 @@ void OpenGl_ShaderManager::UpdateProjectionStateTo (const Tmatrix3& theProjectio
|
||||
// function : SetModelWorldState
|
||||
// purpose : Sets new state of OCCT model-world transform
|
||||
// =======================================================================
|
||||
void OpenGl_ShaderManager::UpdateModelWorldStateTo (const Tmatrix3& theModelWorldMatrix)
|
||||
void OpenGl_ShaderManager::UpdateModelWorldStateTo (const Tmatrix3* theModelWorldMatrix)
|
||||
{
|
||||
myModelWorldState.Set (theModelWorldMatrix);
|
||||
myModelWorldState.Update();
|
||||
@@ -174,7 +174,7 @@ void OpenGl_ShaderManager::UpdateModelWorldStateTo (const Tmatrix3& theModelWorl
|
||||
// function : SetWorldViewState
|
||||
// purpose : Sets new state of OCCT world-view transform
|
||||
// =======================================================================
|
||||
void OpenGl_ShaderManager::UpdateWorldViewStateTo (const Tmatrix3& theWorldViewMatrix)
|
||||
void OpenGl_ShaderManager::UpdateWorldViewStateTo (const Tmatrix3* theWorldViewMatrix)
|
||||
{
|
||||
myWorldViewState.Set (theWorldViewMatrix);
|
||||
myWorldViewState.Update();
|
||||
@@ -184,7 +184,7 @@ void OpenGl_ShaderManager::UpdateWorldViewStateTo (const Tmatrix3& theWorldViewM
|
||||
// function : RevertProjectionStateTo
|
||||
// purpose : Reverts state of OCCT projection transform
|
||||
// =======================================================================
|
||||
void OpenGl_ShaderManager::RevertProjectionStateTo (const Tmatrix3& theProjectionMatrix)
|
||||
void OpenGl_ShaderManager::RevertProjectionStateTo (const Tmatrix3* theProjectionMatrix)
|
||||
{
|
||||
myProjectionState.Set (theProjectionMatrix);
|
||||
myProjectionState.Revert();
|
||||
@@ -194,7 +194,7 @@ void OpenGl_ShaderManager::RevertProjectionStateTo (const Tmatrix3& theProjectio
|
||||
// function : RevertModelWorldStateTo
|
||||
// purpose : Reverts state of OCCT model-world transform
|
||||
// =======================================================================
|
||||
void OpenGl_ShaderManager::RevertModelWorldStateTo (const Tmatrix3& theModelWorldMatrix)
|
||||
void OpenGl_ShaderManager::RevertModelWorldStateTo (const Tmatrix3* theModelWorldMatrix)
|
||||
{
|
||||
myModelWorldState.Set (theModelWorldMatrix);
|
||||
myModelWorldState.Revert();
|
||||
@@ -204,7 +204,7 @@ void OpenGl_ShaderManager::RevertModelWorldStateTo (const Tmatrix3& theModelWorl
|
||||
// function : RevertWorldViewStateTo
|
||||
// purpose : Reverts state of OCCT world-view transform
|
||||
// =======================================================================
|
||||
void OpenGl_ShaderManager::RevertWorldViewStateTo (const Tmatrix3& theWorldViewMatrix)
|
||||
void OpenGl_ShaderManager::RevertWorldViewStateTo (const Tmatrix3* theWorldViewMatrix)
|
||||
{
|
||||
myWorldViewState.Set (theWorldViewMatrix);
|
||||
myWorldViewState.Revert();
|
||||
|
||||
Reference in New Issue
Block a user