Decompile fn_17585 (GroundGeometry::DrawLit)
Batch #15577 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_17585 GroundGeometry::DrawLit: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
4bc01ecc56
commit
ea2cfaaddc
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "Contents/Ground/GroundGeometry.h"
|
||||
#include "Contents/Ground/GroundRendering.h"
|
||||
#include "Contents/Configuration/ServiceOptions.h"
|
||||
#include "Contents/Effects/EffectPoint.h"
|
||||
#include "Contents/Effects/EffectPrim.h"
|
||||
#include "Contents/MapSkyMgr.h"
|
||||
#include "Render/Primitives/LightmappedPrimitive.h"
|
||||
|
|
@ -100,6 +101,7 @@ void GroundGeometry::DrawLightmapped(const float* matrix, const GroundQuad& quad
|
|||
// FUNCTION: fn_17585
|
||||
void GroundGeometry::DrawLit(const float* matrix, const int* rectangle, bool clip) {
|
||||
float ambient[3];
|
||||
EffectPoint corners[4];
|
||||
std::memcpy(ambient, g_worldLighting.ambient, sizeof(ambient));
|
||||
int row = rectangle[1];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue