mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 00:04:18 +02:00
small changes
This commit is contained in:
parent
da98ee0916
commit
f32e29ac2d
3 changed files with 3 additions and 3 deletions
|
@ -453,7 +453,7 @@ public:
|
|||
Params _params;
|
||||
Bytes _data;
|
||||
|
||||
// SSBO class... layout MUST match the layout in TransformCamera.slh
|
||||
// SSBO class... layout MUST match the layout in Transform.slh
|
||||
class TransformObject {
|
||||
public:
|
||||
Mat4 _model;
|
||||
|
|
|
@ -95,7 +95,7 @@ public:
|
|||
virtual void syncCache() = 0;
|
||||
virtual void downloadFramebuffer(const FramebufferPointer& srcFramebuffer, const Vec4i& region, QImage& destImage) = 0;
|
||||
|
||||
// UBO class... layout MUST match the layout in TransformCamera.slh
|
||||
// UBO class... layout MUST match the layout in Transform.slh
|
||||
class TransformCamera {
|
||||
public:
|
||||
mutable Mat4 _view;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<$declareStandardCameraTransform()$>
|
||||
|
||||
float mod289(float x) {
|
||||
return x - floor(x * (1.0 / 289.0)) * 289.0;
|
||||
return x - floor(x * (1.0 / 289.0)) * 289.0;
|
||||
}
|
||||
|
||||
vec2 mod289(vec2 x) {
|
||||
|
|
Loading…
Reference in a new issue