Example #1
0
glm::mat4 Camera::getTransform() const {
	return glm::lookAt(position, position + getDirection(), getUp());
}
Example #2
0
Matrix3x4f CameraUtility::getTransform() {
	Matrix3x4f transform(getRight(), getUp(), getBack(), getPosition());

	return transform;
}