Files
bigmak94andClaude Opus 5.5 bd9bded792 GalaxyQuest: Super Mario Galaxy in VR on Meta Quest 3
A native port built on the Petari decompilation (previous commit): an
HLE platform layer (OS, DVD, GX, audio, input, NAND) under the game's
own code, an OpenXR presentation (a diorama around the player, a giant
screen, the HUD and settings as compositor layers, SpaceWarp, dynamic
resolution), Touch Plus controls, the tools that convert your own game
files (tools/cook, which also takes the few pieces of data the game's
executable holds from your sys/main.dol), and the port's changes to the
decompilation (`git diff petari-base -- decomp`).  README.md explains
installing and building, docs/TECHNICAL.md how it works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 01:59:38 +02:00

31 lines
856 B
C++

#pragma once
#include "Game/Camera/Camera.hpp"
class CameraFrontAndBack : public Camera {
public:
CameraFrontAndBack(const char* pName = "\x95\x5c\x97\xa0\x83\x4a\x83\x81\x83\x89");
virtual ~CameraFrontAndBack();
virtual void reset();
virtual CameraTargetObj* calc();
virtual CamTranslatorBase* createTranslator();
void calcBaseQuat(TQuat4f*, const TVec3f&);
void calcDipQuat(TQuat4f*, const TVec3f&, const TVec3f&);
void setParam(const TVec3f& wPoint, const TVec3f& axis, f32 rotateRate, f32 maxDipAngle, f32 dist) {
mWPoint = wPoint;
mAxis = axis;
mRotateRate = rotateRate;
mMaxDipAngle = maxDipAngle;
mDist = dist;
}
/* 0x4C */ TVec3f mWPoint;
/* 0x58 */ TVec3f mAxis;
/* 0x64 */ f32 mRotateRate;
/* 0x68 */ f32 mMaxDipAngle;
/* 0x6C */ f32 mDist;
};