public void render(Vector2f offset) { float yy = y + offset.y; if (yy <= -6) return; if (yy > Display.getHeight() + 6) return; float xx = x + offset.x; if (xx <= -6) return; if (xx > Display.getWidth() + 6) return; Texture.unbind(); color.bind(); glPointSize(size); glBegin(GL_POINTS); glVertex2f(xx, yy); glEnd(); Color4f.WHITE.bind(); }