Shouldn't Camera angle x default to 0?
but it's defaulting to 26.565
Just curious as to why, because if we build on this, it could make a big difference if they change it in the future?
// Project: 3dtest
// Created: 2017-04-21
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "3dtest" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1024, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
maintexta$=""
//SetTextString ( 2,maintexta$ )
CreateText ( 2,maintexta$ )
SetTextPosition ( 2, 2, 40 )
SetTextSize ( 2, 40 )
do
maintexta$="X:"+str(GetCameraX(1))+" Y:"+str(GetCameraY(1))+" Z:"+str(GetCameraZ(1))
maintexta$=maintexta$+chr(10)+"Cam AngleX:"+str(GetCameraAngleX(1))+" Cam AngleZ:"+str(GetCameraAngleZ(1))
SetTextString ( 2,maintexta$ )
Print( ScreenFPS() )
Sync()
loop