Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: qiang zhong

Search: Search took 0.00 seconds.

  1. Re: How can I get the value of x1,y1,z1 after glRotatef() in selection state?

    I have solved this problem,the code just like below:
    void vBond::draw_me(int hit)
    {
    :) if(hit==0){glColor3f(0.75f,0.75f,1.0f);}else{glColor3f(1.0f,0.75f,0.75f);} ...
  2. How can I get the value of x1,y1,z1 after glRotatef() in selection state?

    my object like this:
    class vBond
    {
    public:
    GLfloat x1,y1,z1;
    vBond(string strName,string T_ptl,string T_ptr);
    ~vBond();
    void draw_me(int hit);
    void Computelocation(GLfloat xx,GLfloat...
Results 1 to 2 of 2