Overlay-Next: Initial implementation #107045

Closed
Clément Foucault wants to merge 28 commits from fclem/blender:overlay-next into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 20 additions and 0 deletions
Showing only changes of commit 482fee9bbe - Show all commits

View File

@ -79,6 +79,26 @@ class View {
return -(data_.winmat[3][2] + 1.0f) / data_.winmat[2][2];
}
const float4x4 &viewmat() const
{
return data_.viewmat;
}
const float4x4 &viewinv() const
{
return data_.viewinv;
}
const float4x4 &winmat() const
{
return data_.winmat;
}
const float4x4 &wininv() const
{
return data_.wininv;
}
private:
/** Called from draw manager. */
void bind();