3DNurbsSurface.h
资源名称:Jhy3D.rar [点击查看]
上传用户:eehhbb
上传日期:2022-08-03
资源大小:2550k
文件大小:1k
源码类别:
OpenGL
开发平台:
Visual C++
- // 3DNurbsSurface.h: interface for the C3DNurbsSurface class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_3DNURBSSURFACE_H__003059EE_0048_422A_B52B_4A1C52CB36A8__INCLUDED_)
- #define AFX_3DNURBSSURFACE_H__003059EE_0048_422A_B52B_4A1C52CB36A8__INCLUDED_
- #include "material.h" // Added by ClassView
- #include "Vector3.h" // Added by ClassView
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class C3DNurbsSurface
- {
- public:
- void RenderWireNurbsSurface();
- unsigned m_uNumOfUCtrl;
- unsigned m_uNumOfVCtrl;
- void DefaultNurbsSuf();
- void DestroyNurbsSurface();
- CVector3 m_position;
- CMaterial m_matNurbs;
- float * m_pVKnot;
- float * m_pUKnot;
- float * m_pCtrlPoints;
- unsigned m_uNumOfVKnot;
- unsigned m_uNumOfUKnot;
- C3DNurbsSurface();
- virtual ~C3DNurbsSurface();
- };
- #endif // !defined(AFX_3DNURBSSURFACE_H__E29A9C0B_95B4_44F4_9635_97C474284E77__INCLUDED_)