Files
Client/GameTools/Zallad3D SceneClass/ShadowVolume.h
LGram16 dd97ddec92 Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 20:17:20 +09:00

31 lines
892 B
C++

// ShadowVolume.h: interface for the CShadowVolume class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SHADOWVOLUME_H__6B48C03A_7A32_4848_8BB8_2EFAF79067F0__INCLUDED_)
#define AFX_SHADOWVOLUME_H__6B48C03A_7A32_4848_8BB8_2EFAF79067F0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BaseDataDefine.h"
#include "3DMath.h"
#include "List.h"
#include "MeshObject.h"
class CShadowVolume
{
List<vector3> m_ShadowVolumeVertexList;
public:
void Reset();
void Render(LPDIRECT3DDEVICE8 pd3dDevice);
void AddEdge(WORD* pEdges,int &nEdges,WORD v0,WORD v1);
void MakeShadowVolumeDirectionLight(vector3 *pVertex,int nVertex,WORD *pIndices,int nIndices,vector3 vecLightDir);
CShadowVolume();
virtual ~CShadowVolume();
};
#endif // !defined(AFX_SHADOWVOLUME_H__6B48C03A_7A32_4848_8BB8_2EFAF79067F0__INCLUDED_)