Home
last modified time | relevance | path

Searched refs:vec_forward (Results 1 – 1 of 1) sorted by relevance

/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Dvecmath.cpp376 Vec3 vec_forward, vec_up_norm, vec_side; in LookAt() local
379 vec_forward.x_ = vec_eye.x_ - vec_at.x_; in LookAt()
380 vec_forward.y_ = vec_eye.y_ - vec_at.y_; in LookAt()
381 vec_forward.z_ = vec_eye.z_ - vec_at.z_; in LookAt()
383 vec_forward.Normalize(); in LookAt()
386 vec_side = vec_up_norm.Cross(vec_forward); in LookAt()
387 vec_up_norm = vec_forward.Cross(vec_side); in LookAt()
397 result.f_[2] = vec_forward.x_; in LookAt()
398 result.f_[6] = vec_forward.y_; in LookAt()
399 result.f_[10] = vec_forward.z_; in LookAt()