Home
last modified time | relevance | path

Searched refs:CPatch (Results 1 – 21 of 21) sorted by relevance

/dports/games/0ad/0ad-0.0.23b-alpha/source/graphics/
H A DPatch.cpp30 CPatch::CPatch() in CPatch() function in CPatch
37 CPatch::~CPatch() in ~CPatch()
44 void CPatch::Initialize(CTerrain* parent,ssize_t x,ssize_t z) in Initialize()
58 void CPatch::CalcBounds() in CalcBounds()
78 int CPatch::GetSideFlags() in GetSideFlags()
H A DPatch.h48 class CPatch : public CRenderableObject
52 CPatch();
54 ~CPatch();
H A DHFTracer.h25 class CPatch; variable
56 …static bool PatchRayIntersect(CPatch* patch, const CVector3D& origin, const CVector3D& dir, CVecto…
H A DTerrain.cpp81 m_Patches = new CPatch[m_MapSizePatches*m_MapSizePatches]; in Initialize()
284 CPatch* CTerrain::GetPatch(ssize_t i, ssize_t j) const in GetPatch()
305 CPatch* patch=GetPatch(i/PATCH_SIZE, j/PATCH_SIZE); // can't fail (due to above check) in GetTile()
517 CPatch* newPatches=new CPatch[size*size]; in Resize()
577 CPatch* srcpatch=&newPatches[(m_MapSizePatches-1)*size]; in Resize()
578 CPatch* dstpatch=srcpatch+size; in Resize()
619 CPatch* patch = GetPatch(i, j); // can't fail in InitialisePatches()
638 CPatch* patch = GetPatch(i, j); // can't fail in SetHeightMap()
663 CPatch* patch = GetPatch(i, j); // can't fail (i,j were clamped) in MakeDirty()
687 CPatch* patch = GetPatch(i, j); // can't fail in MakeDirty()
H A DTerrain.h30 class CPatch; variable
111 CPatch* GetPatch(ssize_t i, ssize_t j) const;
173 CPatch* m_Patches;
H A DHFTracer.cpp275 bool CHFTracer::PatchRayIntersect(CPatch* patch, const CVector3D& origin, const CVector3D& dir, CVe… in PatchRayIntersect()
H A DGameView.cpp509 CPatch* patch=pTerrain->GetPatch(i,j); // can't fail in EnumerateObjects()
H A DMapReader.cpp559 CPatch* patch = m_MapReader.pTerrain->GetPatch(px, pz); // can't fail in ReadTerrain()
/dports/games/0ad/0ad-0.0.23b-alpha/source/renderer/
H A DSilhouetteRenderer.h26 class CPatch; variable
34 void AddOccluder(CPatch* patch);
50 std::vector<CPatch*> m_SubmittedPatchOccluders;
54 std::vector<CPatch*> m_VisiblePatchOccluders;
H A DPatchRData.h29 class CPatch; variable
41 CPatchRData(CPatch* patch, CSimulation2* simulation);
57 CPatch* GetPatch() { return m_Patch; } in GetPatch()
133 CPatch* m_Patch;
H A DTerrainRenderer.h26 class CPatch; variable
62 void Submit(int cullGroup, CPatch* patch);
H A DScene.h36 class CPatch; variable
91 virtual void Submit(CPatch* patch) = 0;
H A DSilhouetteRenderer.cpp44 void SilhouetteRenderer::AddOccluder(CPatch* patch) in AddOccluder()
252 CPatch* occluder = m_SubmittedPatchOccluders[i]; in ComputeSubmissions()
288 CPatch* occluder = m_SubmittedPatchOccluders[i]; in ComputeSubmissions()
369 CPatch* patch = static_cast<CPatch*>(occluder.renderable); in ComputeSubmissions()
412 m_VisiblePatchOccluders.push_back(static_cast<CPatch*>(occluders[i].renderable)); in ComputeSubmissions()
H A DRenderer.h43 class CPatch; variable
365 void Submit(CPatch* patch);
H A DPatchRData.cpp62 CPatchRData::CPatchRData(CPatch* patch, CSimulation2* simulation) : in CPatchRData()
1329 CPatch* patch = m_Patch; in BuildWater()
H A DTerrainRenderer.cpp114 void TerrainRenderer::Submit(int cullGroup, CPatch* patch) in Submit()
H A DRenderer.cpp1721 void CRenderer::Submit(CPatch* patch) in Submit()
/dports/graphics/pixie/Pixie/src/ri/
H A Dsurface.h43 class CPatch : public CObject {
45CPatch(CAttributes *a,CXform *x,CSurface *o,float umin,float umax,float vmin,float vmax,int depth,…
46 ~CPatch();
H A Dsurface.cpp70 CPatch::CPatch(CAttributes *a,CXform *x,CSurface *o,float umin,float umax,float vmin,float vmax,int… in CPatch() function in CPatch
96 CPatch::~CPatch() { in ~CPatch()
146 void CPatch::dice(CShadingContext *r) { in dice()
428 void CPatch::splitToChildren(CShadingContext *r,int dir) { in splitToChildren()
429 CPatch *p1,*p2,*p3,*p4; in splitToChildren()
438 p1 = new CPatch(attributes,xform,object,umin,umid,vmin,vmax,depth+1,minDepth); in splitToChildren()
439 p2 = new CPatch(attributes,xform,object,umid,umax,vmin,vmax,depth+1,minDepth); in splitToChildren()
476 p1 = new CPatch(attributes,xform,object,umin,umid,vmin,vmid,depth+1,minDepth); in splitToChildren()
477 p2 = new CPatch(attributes,xform,object,umid,umax,vmin,vmid,depth+1,minDepth); in splitToChildren()
478 p3 = new CPatch(attributes,xform,object,umin,umid,vmid,vmax,depth+1,minDepth); in splitToChildren()
[all …]
H A Dobject.cpp568 CPatch *cSurface = new CPatch(attributes,xform,this,0,1,0,1,0,minSplits); in dice()
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/GameInterface/
H A DActorViewer.cpp272 CPatch* patch = m.Terrain.GetPatch(pi, pj); in ActorViewer()