<commit_before>#include "spatial/al_Camera.hpp"


namespace al{

Camera :: Camera(
	double fovy, 
	double nearClip, 
	double farClip, 
	double focalLength, 
	double eyeSep,
	double aspectRatio
)
:	Nav(Vec3d(0, 0, -4)),
	mFovy(fovy),
	mNear(nearClip),
	mFar(farClip),
	mFocalLength(focalLength),
	mEyeSep(eyeSep),
	mAspectRatio(aspectRatio),
	mAutoEyeSep(true),
	mZoom(0)
{}


Matrix4d Camera::modelViewMatrix(Eye e) {
	switch(e) {
		case RIGHT: 
			return Matrix4d::lookAtOffAxis(ux(), uy(), uz(), pos(), mEyeSep);<commit_msg>made default smoothing factor for Camera = 0.85<commit_after>#include "spatial/al_Camera.hpp"


namespace al{

Camera :: Camera(
	double fovy, 
	double nearClip, 
	double farClip, 
	double focalLength, 
	double eyeSep,
	double aspectRatio
)
:	Nav(Vec3d(0, 0, -4)),
	mFovy(fovy),
	mNear(nearClip),
	mFar(farClip),
	mFocalLength(focalLength),
	mEyeSep(eyeSep),
	mAspectRatio(aspectRatio),
	mAutoEyeSep(true),
	mZoom(0)
{	smooth(0.85); }


Matrix4d Camera::modelViewMatrix(Eye e) {
	switch(e) {
		case RIGHT: 
			return Matrix4d::lookAtOffAxis(ux(), uy(), uz(), pos(), mEyeSep);
{'fraction_non_alphanumeric': 0.14713896457765668, 'fraction_numerical': 0.018165304268846504, 'mean_word_length': 5.482352941176471, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '782709', 'n_tokens_mistral': 494, 'n_tokens_neox': 439, 'n_words': 88}