Confirm 2 functions in Source/Utility/Math/RayTriangle.h, Source/Utility/Math/RayTriangle.cpp, ...
Batch #15964 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_07842 C3dAttr::RayDistance: logic confirmed by peer review (already on main) - fn_17560 GroundGeometry::MarkRay: logic confirmed by peer review (already on main) Peer-reviewed-by: ragnarok-clanker, eAthena 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
f88ed8f9a4
commit
781a372d4f
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// OFFSET: 0x00554060
|
||||
// FUNCTION: fn_02020
|
||||
bool IntersectRayTriangle(const float* ray, const float* first, const float* second, const float* third, float& u, float& v, float& distance) {
|
||||
int IntersectRayTriangle(const float* ray, const float* first, const float* second, const float* third, float& u, float& v, float& distance) {
|
||||
const float edgeX = second[0] - first[0];
|
||||
const float edgeY = second[1] - first[1];
|
||||
const float edgeZ = second[2] - first[2];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef RAGNAROK_SOURCE_UTILITY_MATH_RAYTRIANGLE_H
|
||||
#define RAGNAROK_SOURCE_UTILITY_MATH_RAYTRIANGLE_H
|
||||
|
||||
bool IntersectRayTriangle(const float* ray, const float* first, const float* second, const float* third, float& u, float& v, float& distance);
|
||||
int IntersectRayTriangle(const float* ray, const float* first, const float* second, const float* third, float& u, float& v, float& distance);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue