Decompile fn_17500 (C3dNodeV2::Draw)
Batch #13160 by Toshiro: 0 byte-identical, 1 confirmed by peer review. - fn_17500 C3dNodeV2::Draw: logic confirmed by peer review Peer-reviewed-by: Tanke, cremane, codeplay 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
7e0fc89926
commit
100bfd3cf7
1 changed files with 1 additions and 2 deletions
|
|
@ -186,8 +186,7 @@ void C3dNodeV1::Draw(const float* matrix, unsigned char reversed, bool clip, uns
|
|||
void C3dNodeV2::Draw(const float* matrix, unsigned char reversed, bool clip, unsigned char commandMode) {
|
||||
// GLOBAL: gl_24587
|
||||
static ProjectedVertex projected[30000];
|
||||
struct matrix camera;
|
||||
std::memcpy(camera.values, matrix, sizeof(camera.values));
|
||||
const struct matrix& camera = *reinterpret_cast<const struct matrix*>(matrix);
|
||||
struct matrix combined;
|
||||
combined.Compose(this->transform, camera);
|
||||
float ambient[3];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue