Skip to content

Commit

Permalink
Fixed case on function. (#6302)
Browse files Browse the repository at this point in the history
  • Loading branch information
eturquin authored Nov 24, 2021
1 parent 0873f46 commit d2d04dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void SetBeamDirection(inout PathIntersection payload, float3 beamDirection)
payload.cone.spreadAngle = beamDirection.z;
}

void clearBeamData(inout PathIntersection payload)
void ClearBeamData(inout PathIntersection payload)
{
SetBeamOrigin(payload, 0.0);
SetBeamDirection(payload, 0.0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void ClosestHit(inout PathIntersection pathIntersection : SV_RayPayload, Attribu
// Fetch, then clear the beam data aliased in our payload
const float3 beamOrigin = GetBeamOrigin(pathIntersection);
const float3 beamDirection = GetBeamDirection(pathIntersection);
clearBeamData(pathIntersection);
ClearBeamData(pathIntersection);

PositionInputs posInput;
posInput.positionWS = fragInput.positionRWS;
Expand Down

0 comments on commit d2d04dc

Please sign in to comment.