Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add comment to computeScreenSpacePosition

  • Loading branch information...
commit 9c539a02e7960a4824f1a5d60bffd13476bc6314 1 parent b640a4f
@pjcozzi pjcozzi authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Source/Scene/Billboard.js
View
1  Source/Scene/Billboard.js
@@ -595,6 +595,7 @@ define([
var view = camera.getViewMatrix();
var projection = camera.frustum.getProjectionMatrix();
+ // Assuming viewport takes up the entire canvas...
var canvas = context.getCanvas();
scratchViewport.width = canvas.clientWidth;
scratchViewport.height = canvas.clientHeight;
Please sign in to comment.
Something went wrong with that request. Please try again.