Decompile fn_18895 (CGlassWall::Render)
Batch #18256 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_18895 CGlassWall::Render: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
39669822d8
commit
33d9d291cc
1 changed files with 6 additions and 4 deletions
|
|
@ -135,18 +135,20 @@ void CGlassWall::Render() {
|
|||
CParticle* particle = *it;
|
||||
const float width = particle->scale;
|
||||
const float height = particle->animationParameter;
|
||||
const float top = -height;
|
||||
const float back = -width;
|
||||
particle->vertices[0].x = 0.0f;
|
||||
particle->vertices[0].y = -height;
|
||||
particle->vertices[0].y = top;
|
||||
particle->vertices[0].z = width;
|
||||
particle->vertices[1].x = 0.0f;
|
||||
particle->vertices[1].y = -height;
|
||||
particle->vertices[1].z = -width;
|
||||
particle->vertices[1].y = top;
|
||||
particle->vertices[1].z = back;
|
||||
particle->vertices[2].x = 0.0f;
|
||||
particle->vertices[2].y = 0.0f;
|
||||
particle->vertices[2].z = width;
|
||||
particle->vertices[3].x = 0.0f;
|
||||
particle->vertices[3].y = 0.0f;
|
||||
particle->vertices[3].z = -width;
|
||||
particle->vertices[3].z = back;
|
||||
particle->Render(true, 0.0f, 1.0f, 0.0f, 1.0f, false, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue