mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
TCastTo implementation
This commit is contained in:
@@ -384,7 +384,11 @@ bool FRME::Extract(const SpecBase &dataSpec,
|
||||
{
|
||||
CAMRInfo::OrthographicProjection* proj = static_cast<CAMRInfo::OrthographicProjection*>(info->projection.get());
|
||||
os.format("cam.type = 'ORTHO'\n"
|
||||
"cam.ortho_scale = %f\n", std::fabs(proj->right - proj->left));
|
||||
"cam.ortho_scale = %f\n"
|
||||
"cam.clip_start = %f\n"
|
||||
"cam.clip_end = %f\n",
|
||||
std::fabs(proj->right - proj->left),
|
||||
proj->znear, proj->zfar);
|
||||
}
|
||||
else if (info->projectionType == CAMRInfo::ProjectionType::Perspective)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user