Skip to content

call ofEasyCam::setPosition in testApp::setup() is forgotten #618

roxlu opened this Issue Jul 5, 2011 · 5 comments

5 participants

roxlu commented Jul 5, 2011

Setting the position of an ofEasyCam instance in ofSetup() does not work. What does work in testApp::setup() is calling ofEasyCam::setDistance(). When calling ofEasyCam::setPosition() in for example testApp::draw() does work.

@kylemcdonald kylemcdonald added this to the 0.9.3 milestone Dec 12, 2014

this is still a bug but should be handled by documentation of ofEasyCam.

openFrameworks member
@tpltnt tpltnt added a commit to tpltnt/openFrameworks that referenced this issue Jul 23, 2015
@tpltnt tpltnt added note to fix #618 29b752d
openFrameworks member

@arturoc thinks we should rather fix this bug instead of adding documentation.

@arturoc arturoc modified the milestone: 0.10.1, 0.9.3 Nov 22, 2015

Is this really a bug? You can call setPosition() in setup() as long as you first setAutoDistance(false). This makes sense to me. You can call setPosition() in draw() or wherever you like.

openFrameworks member
arturoc commented Feb 22, 2016

perhaps it should show an error then and say that auto distance is enabled so you can't use setPosition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.