fixed scaling in opengl -


Someone can help me in scaling the OpenLL; I am using the glScalef () function to scale the polygon , But what do I need to do is scaling it at a certain point, but it has not been achieved with the following function. Can some put some light on it?

normally occurs around the scaling roots, therefore, a point (X, Y, Z) To scale around, someone should translate the Genesis, and return.

Specifically: Translation by (- x, -)

  • scale
  • by translating (x, y) , Z)

    Note: This is the same thing as rotation around a point.

  • Comments

    Popular posts from this blog

    qt - switch/case statement in C++ with a QString type -

    python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

    Python's equivalent for Ruby's define_method? -