center xyz in glulookat

can i use glmultmatrix with center xyz coordinates somehow ? the purpose is to do rotation in centerxyz coords,but onlý centerxyz coords.what would be the best solution for my problem ?

I don’t really know what your problem is, but if you want to rotate a point in R3 around another point in R3 (not (0,0,0)), you must:

  • substract center point from point which needs to be rotated

  • rotate point around the origin

  • add the center point to the point that has just been rotated around the origin.

Hoped that helped