Overlay Next: Refactor #107734

Merged
Miguel Pozo merged 39 commits from pragma37/blender:pull-overlay-next-refactor into main 2023-05-23 15:00:46 +02:00
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();