hiiii
i'm new using opengl
when i was trying to do some transformation using
glRotated(45,0,1); for example,
it do the tranformation on all wht i've drawn on screen
ex. if i was drawing a rectangle and triangle they both rotate
at the same time while i want on the triangle to rotate
plzz help
tnx

Member Avatar for iamthwee

hiiii
i'm new using opengl
when i was trying to do some transformation using
glRotated(45,0,1); for example,
it do the tranformation on all wht i've drawn on screen
ex. if i was drawing a rectangle and triangle they both rotate
at the same time while i want on the triangle to rotate
plzz help
tnx

Have u tried reading the tutorials?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.