New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add function getFrontPosition #681

Merged
merged 1 commit into from Sep 8, 2015

Conversation

Projects
None yet
2 participants
@dad72
Contributor

dad72 commented Sep 4, 2015

Used to retrieve a position in front of the camera.
for example:

Place an object in front of the camera of 10 unit.
box.position = camera.getFrontPosition(10);

add function getFrontPosition
Used to retrieve a position in front of the camera.
for example:

Place an object in front of unit 10 of the camera.
box.position = camera.getFrontPosition(10);

deltakosh added a commit that referenced this pull request Sep 8, 2015

Merge pull request #681 from dad72/patch-3
add function getFrontPosition

@deltakosh deltakosh merged commit 8e78be7 into BabylonJS:master Sep 8, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment