Skip to content

Commit

Permalink
encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
roeas committed Aug 2, 2024
1 parent 164d51a commit 97a4b18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Frame/Source/Assignment/Assignment7/BVH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Intersection BVHAccel::getIntersection(BVHBuildNode* node, const Ray& ray) const
return Intersection{};
}

// Ò¶½Úµã
// 叶节点
if (node->left == nullptr && node->right == nullptr)
{
return node->object->getIntersection(ray);
Expand Down
2 changes: 1 addition & 1 deletion Frame/Source/Assignment/Assignment7/Vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Vector3f
return (&x)[index];
}

// ÐÞ¸´¿ò¼Ü bug
// 修复框架 bug
float &operator[](int index)
{
return (&x)[index];
Expand Down

0 comments on commit 97a4b18

Please sign in to comment.