mirror of
				https://github.com/AxioDL/metaforce.git
				synced 2025-10-27 15:30:23 +00:00 
			
		
		
		
	Normalizes the include paths and makes them consistent. Also adds any missing includes relevant to the interface.
		
			
				
	
	
		
			27 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <vector>
 | |
| 
 | |
| #include "Runtime/GCNTypes.hpp"
 | |
| #include "Runtime/World/CFluidPlaneCPU.hpp"
 | |
| 
 | |
| namespace urde {
 | |
| 
 | |
| class CFluidPlaneGPU final : public CFluidPlaneCPU {
 | |
| public:
 | |
|   CFluidPlaneGPU(CAssetId texPattern1, CAssetId texPattern2, CAssetId texColor, CAssetId bumpMap, CAssetId envMap,
 | |
|                  CAssetId envBumpMap, CAssetId lightMap, float unitsPerLightmapTexel, float tileSize,
 | |
|                  u32 tileSubdivisions, EFluidType fluidType, float alpha, const zeus::CVector3f& bumpLightDir,
 | |
|                  float bumpScale, const CFluidUVMotion& mot, float turbSpeed, float turbDistance, float turbFreqMax,
 | |
|                  float turbFreqMin, float turbPhaseMax, float turbPhaseMin, float turbAmplitudeMax,
 | |
|                  float turbAmplitudeMin, float specularMin, float specularMax, float reflectionBlend,
 | |
|                  float reflectionSize, float rippleIntensity, u32 maxVertCount);
 | |
| 
 | |
|   void RenderStripWithRipples(float curY, const CFluidPlaneRender::SHFieldSample (&heights)[46][46],
 | |
|                               const u8 (&flags)[9][9], int startYDiv, const CFluidPlaneRender::SPatchInfo& info,
 | |
|                               std::vector<CFluidPlaneShader::Vertex>& vOut,
 | |
|                               std::vector<CFluidPlaneShader::PatchVertex>& pvOut) const override;
 | |
| };
 | |
| 
 | |
| } // namespace urde
 |