Home
last modified time | relevance | path

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

/development/ndk/sources/android/ndk_helper/
Dvecmath.cpp344 Vec3 vec_forward, vec_up_norm, vec_side; in LookAt() local
347 vec_forward.x_ = vec_eye.x_ - vec_at.x_; in LookAt()
348 vec_forward.y_ = vec_eye.y_ - vec_at.y_; in LookAt()
349 vec_forward.z_ = vec_eye.z_ - vec_at.z_; in LookAt()
351 vec_forward.Normalize(); in LookAt()
354 vec_side = vec_up_norm.Cross( vec_forward ); in LookAt()
355 vec_up_norm = vec_forward.Cross( vec_side ); in LookAt()
365 result.f_[2] = vec_forward.x_; in LookAt()
366 result.f_[6] = vec_forward.y_; in LookAt()
367 result.f_[10] = vec_forward.z_; in LookAt()