Skip to content

Commit

Permalink
Merge pull request #27 from fredboudon/master
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
fredboudon authored Oct 19, 2022
2 parents f2eee74 + 9aee69b commit df4a305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/plantgl/algo/projection/projectioncamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ void ProjectionCamera::scaleModel(const Vector3& v)
}
/* ----------------------------------------------------------------------- */

real_t projectedArea(uint16_t x, uint16_t y, real_t z, const uint16_t imageWidth, const uint16_t imageHeight)
real_t ProjectionCamera::projectedArea(uint16_t x, uint16_t y, real_t z, const uint16_t imageWidth, const uint16_t imageHeight)
{
Vector3 dir1 = rasterToCamera(Vector3(x,y,1), imageWidth, imageHeight);
Vector3 dir2 = rasterToCamera(Vector3(x+1,y,1), imageWidth, imageHeight);
Expand Down

0 comments on commit df4a305

Please sign in to comment.