Batch #1624 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_02107 RenderProjection::Project: logic confirmed by peer review Reviewed-by: ragnarok-clanker
18 lines
569 B
C
18 lines
569 B
C
#ifndef RAGNAROK_SOURCE_RENDER_PROJECTION_RENDERPROJECTION_H
|
|
#define RAGNAROK_SOURCE_RENDER_PROJECTION_RENDERPROJECTION_H
|
|
|
|
struct LightmappedVertex;
|
|
struct RenderVertex;
|
|
|
|
struct RenderProjection {
|
|
const float& scaleX;
|
|
const float& scaleY;
|
|
const int& centerX;
|
|
const int& centerY;
|
|
|
|
void Project(const float* position, const float* matrix, RenderVertex& output) const;
|
|
void Project(const float* position, const float* matrix, LightmappedVertex& output) const;
|
|
void Ray(int x, int y, const float* origin, const float* matrix, float* output) const;
|
|
};
|
|
|
|
#endif
|