文件名称:jxglTracker
介绍说明--下载内容均来自于网络,请自行研究使用
This code shows how we can perform rubber-banding in an OpenGL application
The source code here includes a simple C++ class called jxglTracker. The two main member functions in the class are DrawTrackRect() and Track(). In the DrawTrackRect() function, the logic op is enabled by calling glEnable(GL_COLOR_LOGIC_OP) and the XOR mode is set by calling glLogicOp(GL_XOR). The rubber-banding rectangle is drawn using glRecti().-This code shows how we can perform rubber-banding system in an OpenGL application The source code here includes a simple C class called jxglTracker. The two main member functions in the class are DrawTrackRect () and Track (). In the DrawTrackRect () function , the logic op is enabled by calling glEnable (GL_COLOR_LOGIC_OP) and the XOR mode is set by calling glLogicOp (GL_XOR). The rubber-banding system rectangle is drawn using glRecti ().
The source code here includes a simple C++ class called jxglTracker. The two main member functions in the class are DrawTrackRect() and Track(). In the DrawTrackRect() function, the logic op is enabled by calling glEnable(GL_COLOR_LOGIC_OP) and the XOR mode is set by calling glLogicOp(GL_XOR). The rubber-banding rectangle is drawn using glRecti().-This code shows how we can perform rubber-banding system in an OpenGL application The source code here includes a simple C class called jxglTracker. The two main member functions in the class are DrawTrackRect () and Track (). In the DrawTrackRect () function , the logic op is enabled by calling glEnable (GL_COLOR_LOGIC_OP) and the XOR mode is set by calling glLogicOp (GL_XOR). The rubber-banding system rectangle is drawn using glRecti ().
相关搜索: opengl
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jxglTracker
...........\jxglTracker.cpp
...........\jxglTracker.h
...........\jxglTracker.cpp
...........\jxglTracker.h