Add multi dimensional entries to inspector

-Added 3 new classes
GuiInspectorType2DValue - 2 dimensional value
GuiInspectorType3DValue - 3 dimensional value
GuiInspectorType4DValue - 4 dimensional value

Added GuiInspectorTypePoint3F for 3 dimensional positions.
Added GuiInspectorTypeMatrixRotation for object rotation. Translates rotation to degrees atm. Input from this is not accounted for just yet.
This commit is contained in:
marauder2k7 2023-06-10 16:50:59 +01:00
parent 06e4ce01a9
commit e6dbe0a860
3 changed files with 653 additions and 4 deletions

View file

@ -331,12 +331,12 @@ void GuiInspectorField::setData( const char* data, bool callbacks )
|| type == TypeColorF
|| type == TypePoint2I
|| type == TypePoint2F
|| type == TypePoint3F
//|| type == TypePoint3F
|| type == TypePoint4F
|| type == TypeRectI
|| type == TypeRectF
|| type == TypeMatrixPosition
|| type == TypeMatrixRotation
//|| type == TypeMatrixPosition
//|| type == TypeMatrixRotation
|| type == TypeBox3F
|| type == TypeRectUV
|| type == TypeRotationF)