⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mgctubesurfaceg.inl

📁 《3D游戏引擎设计》的源码
💻 INL
字号:
// Magic Software, Inc.
// http://www.magic-software.com
// Copyright (c) 2000, All Rights Reserved
//
// Source code from Magic Software is supplied under the terms of a license
// agreement and may not be copied or disclosed except in accordance with the
// terms of that agreement.  The various license agreements may be found at
// the Magic Software web site.  This file is subject to the license
//
// FREE SOURCE CODE
// http://www.magic-software.com/License/free.pdf

//----------------------------------------------------------------------------
inline unsigned int MgcTubeSurfaceG::GetVertexQuantity () const
{
    return m_uiVertexQuantity;
}
//----------------------------------------------------------------------------
inline MgcVector3* MgcTubeSurfaceG::GetVertices ()
{
    return m_akVertex;
}
//----------------------------------------------------------------------------
inline MgcVector3* MgcTubeSurfaceG::GetNormals ()
{
    return m_akNormal;
}
//----------------------------------------------------------------------------
inline unsigned int MgcTubeSurfaceG::GetTriangleQuantity () const
{
    return m_uiTriangleQuantity;
}
//----------------------------------------------------------------------------
inline const unsigned int* MgcTubeSurfaceG::GetConnectivity () const
{
    return m_auiConnect;
}
//----------------------------------------------------------------------------
inline MgcMultipleCurve3*& MgcTubeSurfaceG::Medial ()
{
    return m_pkMedial;
}
//----------------------------------------------------------------------------
inline const MgcMultipleCurve3* MgcTubeSurfaceG::Medial () const
{
    return m_pkMedial;
}
//----------------------------------------------------------------------------
inline MgcTubeSurfaceG::RadialFunction& MgcTubeSurfaceG::Radial ()
{
    return m_oRadial;
}
//----------------------------------------------------------------------------
inline MgcTubeSurfaceG::RadialFunction MgcTubeSurfaceG::Radial () const
{
    return m_oRadial;
}
//----------------------------------------------------------------------------
inline bool& MgcTubeSurfaceG::Closed ()
{
    return m_bClosed;
}
//----------------------------------------------------------------------------
inline bool MgcTubeSurfaceG::Closed () const
{
    return m_bClosed;
}
//----------------------------------------------------------------------------
inline unsigned int MgcTubeSurfaceG::GetMedialSamples () const
{
    return m_uiMedialSamples;
}
//----------------------------------------------------------------------------
inline unsigned int MgcTubeSurfaceG::GetSliceSamples () const
{
    return m_uiSliceSamples;
}
//----------------------------------------------------------------------------
inline bool MgcTubeSurfaceG::GetSampleByArcLength () const
{
    return m_bSampleByArcLength;
}
//----------------------------------------------------------------------------
inline bool MgcTubeSurfaceG::GetWantNormals () const
{
    return m_bWantNormals;
}
//----------------------------------------------------------------------------
inline const MgcVector3* MgcTubeSurfaceG::GetUpVector () const
{
    return m_pkUpVector;
}
//----------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -