Skip to content

Commit

Permalink
More renderer functionality + demos
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Jul 25, 2024
1 parent ee5233e commit fb94414
Show file tree
Hide file tree
Showing 84 changed files with 52,706 additions and 1,912 deletions.
4 changes: 2 additions & 2 deletions packages/bcf/src/loadBCFViewpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ export function loadBCFViewpoint(params: LoadBCFViewpointParams): void {
if (rayCast) {
const hit = view.pick({
pickSurface: true, // <<------ This causes picking to find the intersection point on the viewObject
origin: eye,
direction: look
rayOrigin: eye,
rayDirection: look
});
look = (hit ? hit.worldPos : addVec3(eye, look, tempVec3));
} else {
Expand Down
Loading

0 comments on commit fb94414

Please sign in to comment.