small changes

This commit is contained in:
SamGondelman 2016-06-10 13:46:02 -07:00
parent da98ee0916
commit f32e29ac2d
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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) {