Skip to content
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
Merged

add function getFrontPosition #681

merged 1 commit into from
Sep 8, 2015

Conversation

dad72
Copy link
Contributor

@dad72 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);

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
add function getFrontPosition
@deltakosh deltakosh merged commit 8e78be7 into BabylonJS:master Sep 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants