Skip to content

Commit 1e907f4

Browse files
committed
remove obsolete comments
1 parent c545a59 commit 1e907f4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/nbl/ext/MitsubaLoader/PropertyElement.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,6 @@ std::optional<SNamedPropertyElement> CPropertyElementManager::createPropertyData
257257
}
258258
up[index] = 1.f;
259259
}
260-
// TODO: after the rm-core matrix PR we need to get rid of the tranpose (I transpose only because of GLM and HLSL mixup)
261-
//const auto lookAtGLM = reinterpret_cast<const hlsl::float32_t4x4&>(glm::lookAtLH<float>(origin,target,up));
262-
//const auto lookAt = hlsl::transpose(lookAtGLM);
263260
const auto lookAt = hlsl::math::linalg::rhLookAt(origin, target, up);
264261
// mitsuba understands look-at and right-handed camera little bit differently than I do
265262
const auto rotation = hlsl::inverse(hlsl::float32_t3x3(lookAt));

0 commit comments

Comments
 (0)