1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00
This commit is contained in:
fgenesis 2024-07-08 01:54:13 +02:00
parent 3cb64459f3
commit a5b25af6d5

View file

@ -288,9 +288,6 @@ void SplineGrid::onRender(const RenderState& rs) const
glEnd(); glEnd();
} }
const Vector *psrc = _assistMode
? &bsp.controlpoints[0]
: &cpgen.designpoints[0];
if(RenderObject::renderCollisionShape) if(RenderObject::renderCollisionShape)
{ {
@ -299,6 +296,10 @@ void SplineGrid::onRender(const RenderState& rs) const
glPushMatrix(); glPushMatrix();
glScalef(width, height, 1); glScalef(width, height, 1);
const Vector *psrc = _assistMode
? &bsp.controlpoints[0]
: &cpgen.designpoints[0];
// X axis // X axis
for(size_t y = 0; y < cpy; ++y) for(size_t y = 0; y < cpy; ++y)
{ {