mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
765 B
33 lines
765 B
/******************************Module*Header*******************************\
|
|
* Module Name: npipe.h
|
|
*
|
|
* Node stuff
|
|
*
|
|
* Copyright (c) 1995 Microsoft Corporation
|
|
*
|
|
\**************************************************************************/
|
|
|
|
#ifndef __npipe_h__
|
|
#define __npipe_h__
|
|
|
|
#include "sscommon.h"
|
|
#include "state.h"
|
|
#include "pipe.h"
|
|
|
|
class NORMAL_STATE;
|
|
|
|
class NORMAL_PIPE: public PIPE {
|
|
private:
|
|
public:
|
|
NORMAL_STATE *pNState;
|
|
|
|
NORMAL_PIPE( STATE *state );
|
|
void Start();
|
|
GLint ChooseElbow( int oldDir, int newDir);
|
|
void DrawJoint( int newDir );
|
|
void Draw( ); //mf: could take param to draw n sections
|
|
void DrawStartCap( int newDir );
|
|
void DrawEndCap();
|
|
};
|
|
|
|
#endif // __npipe_h__
|