1
0

a) debug Camera Matrices. enable with _IRR_COMPILE_WITH_90_DEGREE_CAMERA.

- allow ICameraSceneNode to accept any values and correct in buildCameraLookAtMatrixLH with normalize_camera_direction.
 if disabled defaults to the current v1.9 normalize
b) add initial Rotation to MayaCamera Constructor default 0,0
c) switchToMayaCamera in Examples. Clones FPSCamera default disabled


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6366 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
engineer_apple
2022-05-01 01:11:45 +00:00
parent e08e37fc0f
commit 3285a0147a
15 changed files with 156 additions and 23 deletions

View File

@@ -146,6 +146,7 @@ public:
CMaterialControl()
: Initialized(false), Driver(0)
, TypicalColorsControl(0), ButtonLighting(0), InfoLighting(0), ComboMaterial(0)
, ShininessControl(0)
{}
// Destructor
@@ -183,6 +184,8 @@ protected:
irr::gui::IGUIStaticText* InfoLighting;
irr::gui::IGUIComboBox * ComboMaterial;
irr::core::array<CTextureControl*> TextureControls;
irr::gui::IGUIScrollBar* ShininessControl;
};
/*
@@ -302,7 +305,8 @@ protected:
enum ENodeType
{
ENT_CUBE,
ENT_SPHERE
ENT_SPHERE,
ENT_SPHERE_HIGHRES,
};
void setActiveMeshNodeType(ENodeType nodeType);