feat: remove offset property from GenerateAst JSON (#243)
* fix: GenerateAst task didn't work * feat: remove offset property from GenerateAst JSON
This commit is contained in:
1 parent
555b3d4aba
commit
588903f7f7
11 files changed
+10
-8655
No files matched your search
@@ -1,6 +1,7 @@
|
|||||||
package tool.generator.ast
|
package tool.generator.ast
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore
|
import com.fasterxml.jackson.annotation.JsonIgnore
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||||
import com.fasterxml.jackson.annotation.JsonSubTypes
|
import com.fasterxml.jackson.annotation.JsonSubTypes
|
||||||
import com.fasterxml.jackson.annotation.JsonTypeInfo
|
import com.fasterxml.jackson.annotation.JsonTypeInfo
|
||||||
|
|
||||||
@@ -17,7 +18,11 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo
|
|||||||
JsonSubTypes.Type(AstRecordDecl::class),
|
JsonSubTypes.Type(AstRecordDecl::class),
|
||||||
JsonSubTypes.Type(AstFieldDecl::class),
|
JsonSubTypes.Type(AstFieldDecl::class),
|
||||||
)
|
)
|
||||||
|
@JsonIgnoreProperties(value = ["offset"])
|
||||||
interface Decl {
|
interface Decl {
|
||||||
|
// Offset property is necessary only for maintaining the correct relative order during parsing.
|
||||||
|
// We should avoid storing it in a JSON file as it significantly increases the file differences,
|
||||||
|
// making version control more challenging.
|
||||||
val offset: Int
|
val offset: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import com.fasterxml.jackson.databind.SerializationFeature
|
|||||||
import com.fasterxml.jackson.databind.node.ObjectNode
|
import com.fasterxml.jackson.databind.node.ObjectNode
|
||||||
import com.lordcodes.turtle.shellRun
|
import com.lordcodes.turtle.shellRun
|
||||||
import org.gradle.api.DefaultTask
|
import org.gradle.api.DefaultTask
|
||||||
import org.gradle.api.tasks.InputFiles
|
import org.gradle.api.tasks.Input
|
||||||
import org.gradle.api.tasks.Internal
|
import org.gradle.api.tasks.Internal
|
||||||
import org.gradle.api.tasks.TaskAction
|
import org.gradle.api.tasks.TaskAction
|
||||||
import tool.generator.ast.*
|
import tool.generator.ast.*
|
||||||
@@ -23,7 +23,7 @@ open class GenerateAst : DefaultTask() {
|
|||||||
@Internal
|
@Internal
|
||||||
override fun getDescription() = "Generate AST tree for declared header files."
|
override fun getDescription() = "Generate AST tree for declared header files."
|
||||||
|
|
||||||
@InputFiles
|
@Input
|
||||||
lateinit var headerFiles: Map<File, Collection<String>>
|
lateinit var headerFiles: Map<File, Collection<String>>
|
||||||
|
|
||||||
private val dstDir: File = File("${project.rootDir}/buildSrc/src/main/resources/${AstParser.RESOURCE_PATH}")
|
private val dstDir: File = File("${project.rootDir}/buildSrc/src/main/resources/${AstParser.RESOURCE_PATH}")
|
||||||
@@ -74,8 +74,9 @@ open class GenerateAst : DefaultTask() {
|
|||||||
// We create a unique folder to store files generated for the header.
|
// We create a unique folder to store files generated for the header.
|
||||||
// This is necessary because when we store all headers in the same directory,
|
// This is necessary because when we store all headers in the same directory,
|
||||||
// their AST dump can overlap with each other.
|
// their AST dump can overlap with each other.
|
||||||
val astBuildDir = File("${project.layout.buildDirectory}/generated/ast/$headerHash")
|
val astBuildDir = project.layout.buildDirectory.dir("generated/ast/$headerHash").get().asFile.apply {
|
||||||
astBuildDir.mkdirs()
|
mkdirs()
|
||||||
|
}
|
||||||
|
|
||||||
// Move the header content to the temp file to make an ast-dump of it.
|
// Move the header content to the temp file to make an ast-dump of it.
|
||||||
val headerName = header.nameWithoutExtension
|
val headerName = header.nameWithoutExtension
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -7,32 +7,25 @@
|
|||||||
},
|
},
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstNamespaceDecl",
|
"@type" : "AstNamespaceDecl",
|
||||||
"offset" : 4983,
|
|
||||||
"name" : "ImGuizmo",
|
"name" : "ImGuizmo",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 5199,
|
|
||||||
"name" : "SetDrawlist",
|
"name" : "SetDrawlist",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 5001,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 5001,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5001,
|
|
||||||
"text" : " call inside your own window and before Manipulate() in order to draw gizmo to that window."
|
"text" : " call inside your own window and before Manipulate() in order to draw gizmo to that window."
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5099,
|
|
||||||
"text" : " Or pass a specific ImDrawList to draw to (e.g. ImGui::GetForegroundDrawList())."
|
"text" : " Or pass a specific ImDrawList to draw to (e.g. ImGui::GetForegroundDrawList())."
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 5223,
|
|
||||||
"name" : "drawlist",
|
"name" : "drawlist",
|
||||||
"qualType" : "int *",
|
"qualType" : "int *",
|
||||||
"desugaredQualType" : "int *",
|
"desugaredQualType" : "int *",
|
||||||
@@ -40,395 +33,314 @@
|
|||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 5323,
|
|
||||||
"name" : "BeginFrame",
|
"name" : "BeginFrame",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 5252,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 5252,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5252,
|
|
||||||
"text" : " call BeginFrame right after ImGui_XXXX_NewFrame();"
|
"text" : " call BeginFrame right after ImGui_XXXX_NewFrame();"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 5687,
|
|
||||||
"name" : "SetImGuiContext",
|
"name" : "SetImGuiContext",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 5345,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 5345,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5345,
|
|
||||||
"text" : " this is necessary because when imguizmo is compiled into a dll, and imgui into another"
|
"text" : " this is necessary because when imguizmo is compiled into a dll, and imgui into another"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5439,
|
|
||||||
"text" : " globals are not shared between them."
|
"text" : " globals are not shared between them."
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5483,
|
|
||||||
"text" : " More details at https://stackoverflow.com/questions/19373061/what-happens-to-global-and-static-variables-in-a-shared-library-when-it-is-dynam"
|
"text" : " More details at https://stackoverflow.com/questions/19373061/what-happens-to-global-and-static-variables-in-a-shared-library-when-it-is-dynam"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5632,
|
|
||||||
"text" : " expose method to set imgui context"
|
"text" : " expose method to set imgui context"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 5717,
|
|
||||||
"name" : "ctx",
|
"name" : "ctx",
|
||||||
"qualType" : "int *",
|
"qualType" : "int *",
|
||||||
"desugaredQualType" : "int *"
|
"desugaredQualType" : "int *"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 5838,
|
|
||||||
"name" : "IsOver",
|
"name" : "IsOver",
|
||||||
"resultType" : "bool",
|
"resultType" : "bool",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 5731,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 5731,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5731,
|
|
||||||
"text" : " return true if mouse cursor is over any gizmo control (axis, plan or screen component)"
|
"text" : " return true if mouse cursor is over any gizmo control (axis, plan or screen component)"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 5939,
|
|
||||||
"name" : "IsUsing",
|
"name" : "IsUsing",
|
||||||
"resultType" : "bool",
|
"resultType" : "bool",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 5856,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 5856,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5856,
|
|
||||||
"text" : " return true if mouse IsOver or if the gizmo is in moving state"
|
"text" : " return true if mouse IsOver or if the gizmo is in moving state"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 6121,
|
|
||||||
"name" : "Enable",
|
"name" : "Enable",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 5958,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 5958,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 5958,
|
|
||||||
"text" : " enable/disable the gizmo. Stay in the state until next call to Enable."
|
"text" : " enable/disable the gizmo. Stay in the state until next call to Enable."
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6036,
|
|
||||||
"text" : " gizmo is rendered with gray half transparent color when disabled"
|
"text" : " gizmo is rendered with gray half transparent color when disabled"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 6133,
|
|
||||||
"name" : "enable",
|
"name" : "enable",
|
||||||
"qualType" : "bool",
|
"qualType" : "bool",
|
||||||
"desugaredQualType" : "bool"
|
"desugaredQualType" : "bool"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 6946,
|
|
||||||
"name" : "DecomposeMatrixToComponents",
|
"name" : "DecomposeMatrixToComponents",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 6150,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 6150,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6150,
|
|
||||||
"text" : " helper functions for manualy editing translation/rotation/scale with an input float"
|
"text" : " helper functions for manualy editing translation/rotation/scale with an input float"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6241,
|
|
||||||
"text" : " translation, rotation and scale float points to 3 floats each"
|
"text" : " translation, rotation and scale float points to 3 floats each"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6310,
|
|
||||||
"text" : " Angles are in degrees (more suitable for human editing)"
|
"text" : " Angles are in degrees (more suitable for human editing)"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6373,
|
|
||||||
"text" : " example:"
|
"text" : " example:"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6389,
|
|
||||||
"text" : " float matrixTranslation[3], matrixRotation[3], matrixScale[3];"
|
"text" : " float matrixTranslation[3], matrixRotation[3], matrixScale[3];"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6459,
|
|
||||||
"text" : " ImGuizmo::DecomposeMatrixToComponents(gizmoMatrix.m16, matrixTranslation, matrixRotation, matrixScale);"
|
"text" : " ImGuizmo::DecomposeMatrixToComponents(gizmoMatrix.m16, matrixTranslation, matrixRotation, matrixScale);"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6570,
|
|
||||||
"text" : " ImGui::InputFloat3(\"Tr\", matrixTranslation, 3);"
|
"text" : " ImGui::InputFloat3(\"Tr\", matrixTranslation, 3);"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6625,
|
|
||||||
"text" : " ImGui::InputFloat3(\"Rt\", matrixRotation, 3);"
|
"text" : " ImGui::InputFloat3(\"Rt\", matrixRotation, 3);"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6677,
|
|
||||||
"text" : " ImGui::InputFloat3(\"Sc\", matrixScale, 3);"
|
"text" : " ImGui::InputFloat3(\"Sc\", matrixScale, 3);"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6726,
|
|
||||||
"text" : " ImGuizmo::RecomposeMatrixFromComponents(matrixTranslation, matrixRotation, matrixScale, gizmoMatrix.m16);"
|
"text" : " ImGuizmo::RecomposeMatrixFromComponents(matrixTranslation, matrixRotation, matrixScale, gizmoMatrix.m16);"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 6846,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 6846,
|
|
||||||
"text" : " These functions have some numerical stability issues for now. Use with caution."
|
"text" : " These functions have some numerical stability issues for now. Use with caution."
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 6987,
|
|
||||||
"name" : "matrix",
|
"name" : "matrix",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7002,
|
|
||||||
"name" : "translation",
|
"name" : "translation",
|
||||||
"qualType" : "float *",
|
"qualType" : "float *",
|
||||||
"desugaredQualType" : "float *"
|
"desugaredQualType" : "float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7022,
|
|
||||||
"name" : "rotation",
|
"name" : "rotation",
|
||||||
"qualType" : "float *",
|
"qualType" : "float *",
|
||||||
"desugaredQualType" : "float *"
|
"desugaredQualType" : "float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7039,
|
|
||||||
"name" : "scale",
|
"name" : "scale",
|
||||||
"qualType" : "float *",
|
"qualType" : "float *",
|
||||||
"desugaredQualType" : "float *"
|
"desugaredQualType" : "float *"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 7066,
|
|
||||||
"name" : "RecomposeMatrixFromComponents",
|
"name" : "RecomposeMatrixFromComponents",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7109,
|
|
||||||
"name" : "translation",
|
"name" : "translation",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7135,
|
|
||||||
"name" : "rotation",
|
"name" : "rotation",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7158,
|
|
||||||
"name" : "scale",
|
"name" : "scale",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7172,
|
|
||||||
"name" : "matrix",
|
"name" : "matrix",
|
||||||
"qualType" : "float *",
|
"qualType" : "float *",
|
||||||
"desugaredQualType" : "float *"
|
"desugaredQualType" : "float *"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 7202,
|
|
||||||
"name" : "SetRect",
|
"name" : "SetRect",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7216,
|
|
||||||
"name" : "x",
|
"name" : "x",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float"
|
"desugaredQualType" : "float"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7225,
|
|
||||||
"name" : "y",
|
"name" : "y",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float"
|
"desugaredQualType" : "float"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7234,
|
|
||||||
"name" : "width",
|
"name" : "width",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float"
|
"desugaredQualType" : "float"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7247,
|
|
||||||
"name" : "height",
|
"name" : "height",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float"
|
"desugaredQualType" : "float"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 7299,
|
|
||||||
"name" : "SetOrthographic",
|
"name" : "SetOrthographic",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 7262,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 7262,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 7262,
|
|
||||||
"text" : " default is false"
|
"text" : " default is false"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7320,
|
|
||||||
"name" : "isOrthographic",
|
"name" : "isOrthographic",
|
||||||
"qualType" : "bool",
|
"qualType" : "bool",
|
||||||
"desugaredQualType" : "bool"
|
"desugaredQualType" : "bool"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 7449,
|
|
||||||
"name" : "DrawCubes",
|
"name" : "DrawCubes",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 7345,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 7345,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 7345,
|
|
||||||
"text" : " Render a cube with face color corresponding to face normal. Usefull for debug/tests"
|
"text" : " Render a cube with face color corresponding to face normal. Usefull for debug/tests"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7472,
|
|
||||||
"name" : "view",
|
"name" : "view",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7491,
|
|
||||||
"name" : "projection",
|
"name" : "projection",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7516,
|
|
||||||
"name" : "matrices",
|
"name" : "matrices",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7530,
|
|
||||||
"name" : "matrixCount",
|
"name" : "matrixCount",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 7563,
|
|
||||||
"name" : "DrawGrid",
|
"name" : "DrawGrid",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7585,
|
|
||||||
"name" : "view",
|
"name" : "view",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7604,
|
|
||||||
"name" : "projection",
|
"name" : "projection",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7629,
|
|
||||||
"name" : "matrix",
|
"name" : "matrix",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 7649,
|
|
||||||
"name" : "gridSize",
|
"name" : "gridSize",
|
||||||
"qualType" : "const float",
|
"qualType" : "const float",
|
||||||
"desugaredQualType" : "const float"
|
"desugaredQualType" : "const float"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumDecl",
|
"@type" : "AstEnumDecl",
|
||||||
"offset" : 7946,
|
|
||||||
"name" : "OPERATION",
|
"name" : "OPERATION",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 7668,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 7668,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 7668,
|
|
||||||
"text" : " call it when you want a gizmo"
|
"text" : " call it when you want a gizmo"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 7705,
|
|
||||||
"text" : " Needs view and projection matrices. "
|
"text" : " Needs view and projection matrices. "
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 7749,
|
|
||||||
"text" : " matrix parameter is the source matrix (where will be gizmo be drawn) and might be transformed by the function. Return deltaMatrix is optional"
|
"text" : " matrix parameter is the source matrix (where will be gizmo be drawn) and might be transformed by the function. Return deltaMatrix is optional"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 7898,
|
|
||||||
"text" : " translation is applied in world space"
|
"text" : " translation is applied in world space"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 7969,
|
|
||||||
"name" : "TRANSLATE_X",
|
"name" : "TRANSLATE_X",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 0,
|
"order" : 0,
|
||||||
@@ -436,7 +348,6 @@
|
|||||||
"evaluatedValue" : "1"
|
"evaluatedValue" : "1"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8006,
|
|
||||||
"name" : "TRANSLATE_Y",
|
"name" : "TRANSLATE_Y",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 1,
|
"order" : 1,
|
||||||
@@ -444,7 +355,6 @@
|
|||||||
"evaluatedValue" : "2"
|
"evaluatedValue" : "2"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8043,
|
|
||||||
"name" : "TRANSLATE_Z",
|
"name" : "TRANSLATE_Z",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 2,
|
"order" : 2,
|
||||||
@@ -452,7 +362,6 @@
|
|||||||
"evaluatedValue" : "4"
|
"evaluatedValue" : "4"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8080,
|
|
||||||
"name" : "ROTATE_X",
|
"name" : "ROTATE_X",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 3,
|
"order" : 3,
|
||||||
@@ -460,7 +369,6 @@
|
|||||||
"evaluatedValue" : "8"
|
"evaluatedValue" : "8"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8117,
|
|
||||||
"name" : "ROTATE_Y",
|
"name" : "ROTATE_Y",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 4,
|
"order" : 4,
|
||||||
@@ -468,7 +376,6 @@
|
|||||||
"evaluatedValue" : "16"
|
"evaluatedValue" : "16"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8154,
|
|
||||||
"name" : "ROTATE_Z",
|
"name" : "ROTATE_Z",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 5,
|
"order" : 5,
|
||||||
@@ -476,7 +383,6 @@
|
|||||||
"evaluatedValue" : "32"
|
"evaluatedValue" : "32"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8191,
|
|
||||||
"name" : "ROTATE_SCREEN",
|
"name" : "ROTATE_SCREEN",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 6,
|
"order" : 6,
|
||||||
@@ -484,7 +390,6 @@
|
|||||||
"evaluatedValue" : "64"
|
"evaluatedValue" : "64"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8228,
|
|
||||||
"name" : "SCALE_X",
|
"name" : "SCALE_X",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 7,
|
"order" : 7,
|
||||||
@@ -492,7 +397,6 @@
|
|||||||
"evaluatedValue" : "128"
|
"evaluatedValue" : "128"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8265,
|
|
||||||
"name" : "SCALE_Y",
|
"name" : "SCALE_Y",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 8,
|
"order" : 8,
|
||||||
@@ -500,7 +404,6 @@
|
|||||||
"evaluatedValue" : "256"
|
"evaluatedValue" : "256"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8302,
|
|
||||||
"name" : "SCALE_Z",
|
"name" : "SCALE_Z",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 9,
|
"order" : 9,
|
||||||
@@ -508,7 +411,6 @@
|
|||||||
"evaluatedValue" : "512"
|
"evaluatedValue" : "512"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8339,
|
|
||||||
"name" : "BOUNDS",
|
"name" : "BOUNDS",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 10,
|
"order" : 10,
|
||||||
@@ -516,7 +418,6 @@
|
|||||||
"evaluatedValue" : "1024"
|
"evaluatedValue" : "1024"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8377,
|
|
||||||
"name" : "TRANSLATE",
|
"name" : "TRANSLATE",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 11,
|
"order" : 11,
|
||||||
@@ -524,7 +425,6 @@
|
|||||||
"evaluatedValue" : "7"
|
"evaluatedValue" : "7"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8437,
|
|
||||||
"name" : "ROTATE",
|
"name" : "ROTATE",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 12,
|
"order" : 12,
|
||||||
@@ -532,7 +432,6 @@
|
|||||||
"evaluatedValue" : "120"
|
"evaluatedValue" : "120"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8501,
|
|
||||||
"name" : "SCALE",
|
"name" : "SCALE",
|
||||||
"qualType" : "ImGuizmo::OPERATION",
|
"qualType" : "ImGuizmo::OPERATION",
|
||||||
"order" : 13,
|
"order" : 13,
|
||||||
@@ -541,98 +440,82 @@
|
|||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 8567,
|
|
||||||
"name" : "operator|",
|
"name" : "operator|",
|
||||||
"resultType" : "OPERATION",
|
"resultType" : "OPERATION",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8587,
|
|
||||||
"name" : "lhs",
|
"name" : "lhs",
|
||||||
"qualType" : "OPERATION",
|
"qualType" : "OPERATION",
|
||||||
"desugaredQualType" : "ImGuizmo::OPERATION"
|
"desugaredQualType" : "ImGuizmo::OPERATION"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8602,
|
|
||||||
"name" : "rhs",
|
"name" : "rhs",
|
||||||
"qualType" : "OPERATION",
|
"qualType" : "OPERATION",
|
||||||
"desugaredQualType" : "ImGuizmo::OPERATION"
|
"desugaredQualType" : "ImGuizmo::OPERATION"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumDecl",
|
"@type" : "AstEnumDecl",
|
||||||
"offset" : 8714,
|
|
||||||
"name" : "MODE",
|
"name" : "MODE",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8732,
|
|
||||||
"name" : "LOCAL",
|
"name" : "LOCAL",
|
||||||
"qualType" : "ImGuizmo::MODE",
|
"qualType" : "ImGuizmo::MODE",
|
||||||
"order" : 0
|
"order" : 0
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 8746,
|
|
||||||
"name" : "WORLD",
|
"name" : "WORLD",
|
||||||
"qualType" : "ImGuizmo::MODE",
|
"qualType" : "ImGuizmo::MODE",
|
||||||
"order" : 1
|
"order" : 1
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 8780,
|
|
||||||
"name" : "Manipulate",
|
"name" : "Manipulate",
|
||||||
"resultType" : "bool",
|
"resultType" : "bool",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8804,
|
|
||||||
"name" : "view",
|
"name" : "view",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8823,
|
|
||||||
"name" : "projection",
|
"name" : "projection",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *"
|
"desugaredQualType" : "const float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8845,
|
|
||||||
"name" : "operation",
|
"name" : "operation",
|
||||||
"qualType" : "OPERATION",
|
"qualType" : "OPERATION",
|
||||||
"desugaredQualType" : "ImGuizmo::OPERATION"
|
"desugaredQualType" : "ImGuizmo::OPERATION"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8861,
|
|
||||||
"name" : "mode",
|
"name" : "mode",
|
||||||
"qualType" : "MODE",
|
"qualType" : "MODE",
|
||||||
"desugaredQualType" : "ImGuizmo::MODE"
|
"desugaredQualType" : "ImGuizmo::MODE"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8874,
|
|
||||||
"name" : "matrix",
|
"name" : "matrix",
|
||||||
"qualType" : "float *",
|
"qualType" : "float *",
|
||||||
"desugaredQualType" : "float *"
|
"desugaredQualType" : "float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8889,
|
|
||||||
"name" : "deltaMatrix",
|
"name" : "deltaMatrix",
|
||||||
"qualType" : "float *",
|
"qualType" : "float *",
|
||||||
"desugaredQualType" : "float *",
|
"desugaredQualType" : "float *",
|
||||||
"defaultValue" : "="
|
"defaultValue" : "="
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8922,
|
|
||||||
"name" : "snap",
|
"name" : "snap",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *",
|
"desugaredQualType" : "const float *",
|
||||||
"defaultValue" : "="
|
"defaultValue" : "="
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8948,
|
|
||||||
"name" : "localBounds",
|
"name" : "localBounds",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *",
|
"desugaredQualType" : "const float *",
|
||||||
"defaultValue" : "="
|
"defaultValue" : "="
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 8981,
|
|
||||||
"name" : "boundsSnap",
|
"name" : "boundsSnap",
|
||||||
"qualType" : "const float *",
|
"qualType" : "const float *",
|
||||||
"desugaredQualType" : "const float *",
|
"desugaredQualType" : "const float *",
|
||||||
@@ -640,136 +523,109 @@
|
|||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 9338,
|
|
||||||
"name" : "ViewManipulate",
|
"name" : "ViewManipulate",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 9014,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 9014,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 9014,
|
|
||||||
"text" : " Please note that this cubeview is patented by Autodesk : https://patents.google.com/patent/US7782319B2/en"
|
"text" : " Please note that this cubeview is patented by Autodesk : https://patents.google.com/patent/US7782319B2/en"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 9127,
|
|
||||||
"text" : " It seems to be a defensive patent in the US. I don't think it will bring troubles using it as"
|
"text" : " It seems to be a defensive patent in the US. I don't think it will bring troubles using it as"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 9228,
|
|
||||||
"text" : " other software are using the same mechanics. But just in case, you are now warned!"
|
"text" : " other software are using the same mechanics. But just in case, you are now warned!"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9360,
|
|
||||||
"name" : "view",
|
"name" : "view",
|
||||||
"qualType" : "float *",
|
"qualType" : "float *",
|
||||||
"desugaredQualType" : "float *"
|
"desugaredQualType" : "float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9372,
|
|
||||||
"name" : "length",
|
"name" : "length",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float"
|
"desugaredQualType" : "float"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9387,
|
|
||||||
"name" : "position",
|
"name" : "position",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9404,
|
|
||||||
"name" : "size",
|
"name" : "size",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9416,
|
|
||||||
"name" : "backgroundColor",
|
"name" : "backgroundColor",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 9455,
|
|
||||||
"name" : "SetID",
|
"name" : "SetID",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9465,
|
|
||||||
"name" : "id",
|
"name" : "id",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 9554,
|
|
||||||
"name" : "IsOver",
|
"name" : "IsOver",
|
||||||
"resultType" : "bool",
|
"resultType" : "bool",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 9478,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 9478,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 9478,
|
|
||||||
"text" : " return true if the cursor is over the operation's gizmo"
|
"text" : " return true if the cursor is over the operation's gizmo"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9571,
|
|
||||||
"name" : "op",
|
"name" : "op",
|
||||||
"qualType" : "OPERATION",
|
"qualType" : "OPERATION",
|
||||||
"desugaredQualType" : "ImGuizmo::OPERATION"
|
"desugaredQualType" : "ImGuizmo::OPERATION"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 9595,
|
|
||||||
"name" : "SetGizmoSizeClipSpace",
|
"name" : "SetGizmoSizeClipSpace",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9623,
|
|
||||||
"name" : "value",
|
"name" : "value",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float"
|
"desugaredQualType" : "float"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 9821,
|
|
||||||
"name" : "AllowAxisFlip",
|
"name" : "AllowAxisFlip",
|
||||||
"resultType" : "void",
|
"resultType" : "void",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFullComment",
|
"@type" : "AstFullComment",
|
||||||
"offset" : 9639,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParagraphComment",
|
"@type" : "AstParagraphComment",
|
||||||
"offset" : 9639,
|
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 9639,
|
|
||||||
"text" : " Allow axis to flip"
|
"text" : " Allow axis to flip"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 9665,
|
|
||||||
"text" : " When true (default), the guizmo axis flip for better visibility"
|
"text" : " When true (default), the guizmo axis flip for better visibility"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstTextComment",
|
"@type" : "AstTextComment",
|
||||||
"offset" : 9736,
|
|
||||||
"text" : " When false, they always stay along the positive world/local axis"
|
"text" : " When false, they always stay along the positive world/local axis"
|
||||||
} ]
|
} ]
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 9840,
|
|
||||||
"name" : "value",
|
"name" : "value",
|
||||||
"qualType" : "bool",
|
"qualType" : "bool",
|
||||||
"desugaredQualType" : "bool"
|
"desugaredQualType" : "bool"
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -7,11 +7,9 @@
|
|||||||
},
|
},
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstEnumDecl",
|
"@type" : "AstEnumDecl",
|
||||||
"offset" : 87,
|
|
||||||
"name" : "ImGuiKnobFlags_",
|
"name" : "ImGuiKnobFlags_",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 109,
|
|
||||||
"name" : "ImGuiKnobFlags_NoTitle",
|
"name" : "ImGuiKnobFlags_NoTitle",
|
||||||
"qualType" : "ImGuiKnobFlags_",
|
"qualType" : "ImGuiKnobFlags_",
|
||||||
"order" : 0,
|
"order" : 0,
|
||||||
@@ -19,7 +17,6 @@
|
|||||||
"evaluatedValue" : "1"
|
"evaluatedValue" : "1"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 146,
|
|
||||||
"name" : "ImGuiKnobFlags_NoInput",
|
"name" : "ImGuiKnobFlags_NoInput",
|
||||||
"qualType" : "ImGuiKnobFlags_",
|
"qualType" : "ImGuiKnobFlags_",
|
||||||
"order" : 1,
|
"order" : 1,
|
||||||
@@ -27,7 +24,6 @@
|
|||||||
"evaluatedValue" : "2"
|
"evaluatedValue" : "2"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 183,
|
|
||||||
"name" : "ImGuiKnobFlags_ValueTooltip",
|
"name" : "ImGuiKnobFlags_ValueTooltip",
|
||||||
"qualType" : "ImGuiKnobFlags_",
|
"qualType" : "ImGuiKnobFlags_",
|
||||||
"order" : 2,
|
"order" : 2,
|
||||||
@@ -35,7 +31,6 @@
|
|||||||
"evaluatedValue" : "4"
|
"evaluatedValue" : "4"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 225,
|
|
||||||
"name" : "ImGuiKnobFlags_DragHorizontal",
|
"name" : "ImGuiKnobFlags_DragHorizontal",
|
||||||
"qualType" : "ImGuiKnobFlags_",
|
"qualType" : "ImGuiKnobFlags_",
|
||||||
"order" : 3,
|
"order" : 3,
|
||||||
@@ -44,11 +39,9 @@
|
|||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumDecl",
|
"@type" : "AstEnumDecl",
|
||||||
"offset" : 305,
|
|
||||||
"name" : "ImGuiKnobVariant_",
|
"name" : "ImGuiKnobVariant_",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 329,
|
|
||||||
"name" : "ImGuiKnobVariant_Tick",
|
"name" : "ImGuiKnobVariant_Tick",
|
||||||
"qualType" : "ImGuiKnobVariant_",
|
"qualType" : "ImGuiKnobVariant_",
|
||||||
"order" : 0,
|
"order" : 0,
|
||||||
@@ -56,7 +49,6 @@
|
|||||||
"evaluatedValue" : "1"
|
"evaluatedValue" : "1"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 365,
|
|
||||||
"name" : "ImGuiKnobVariant_Dot",
|
"name" : "ImGuiKnobVariant_Dot",
|
||||||
"qualType" : "ImGuiKnobVariant_",
|
"qualType" : "ImGuiKnobVariant_",
|
||||||
"order" : 1,
|
"order" : 1,
|
||||||
@@ -64,7 +56,6 @@
|
|||||||
"evaluatedValue" : "2"
|
"evaluatedValue" : "2"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 400,
|
|
||||||
"name" : "ImGuiKnobVariant_Wiper",
|
"name" : "ImGuiKnobVariant_Wiper",
|
||||||
"qualType" : "ImGuiKnobVariant_",
|
"qualType" : "ImGuiKnobVariant_",
|
||||||
"order" : 2,
|
"order" : 2,
|
||||||
@@ -72,7 +63,6 @@
|
|||||||
"evaluatedValue" : "4"
|
"evaluatedValue" : "4"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 437,
|
|
||||||
"name" : "ImGuiKnobVariant_WiperOnly",
|
"name" : "ImGuiKnobVariant_WiperOnly",
|
||||||
"qualType" : "ImGuiKnobVariant_",
|
"qualType" : "ImGuiKnobVariant_",
|
||||||
"order" : 3,
|
"order" : 3,
|
||||||
@@ -80,7 +70,6 @@
|
|||||||
"evaluatedValue" : "8"
|
"evaluatedValue" : "8"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 478,
|
|
||||||
"name" : "ImGuiKnobVariant_WiperDot",
|
"name" : "ImGuiKnobVariant_WiperDot",
|
||||||
"qualType" : "ImGuiKnobVariant_",
|
"qualType" : "ImGuiKnobVariant_",
|
||||||
"order" : 4,
|
"order" : 4,
|
||||||
@@ -88,7 +77,6 @@
|
|||||||
"evaluatedValue" : "16"
|
"evaluatedValue" : "16"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 518,
|
|
||||||
"name" : "ImGuiKnobVariant_Stepped",
|
"name" : "ImGuiKnobVariant_Stepped",
|
||||||
"qualType" : "ImGuiKnobVariant_",
|
"qualType" : "ImGuiKnobVariant_",
|
||||||
"order" : 5,
|
"order" : 5,
|
||||||
@@ -96,7 +84,6 @@
|
|||||||
"evaluatedValue" : "32"
|
"evaluatedValue" : "32"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstEnumConstantDecl",
|
"@type" : "AstEnumConstantDecl",
|
||||||
"offset" : 557,
|
|
||||||
"name" : "ImGuiKnobVariant_Space",
|
"name" : "ImGuiKnobVariant_Space",
|
||||||
"qualType" : "ImGuiKnobVariant_",
|
"qualType" : "ImGuiKnobVariant_",
|
||||||
"order" : 6,
|
"order" : 6,
|
||||||
@@ -105,98 +92,82 @@
|
|||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstNamespaceDecl",
|
"@type" : "AstNamespaceDecl",
|
||||||
"offset" : 604,
|
|
||||||
"name" : "ImGuiKnobs",
|
"name" : "ImGuiKnobs",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstRecordDecl",
|
"@type" : "AstRecordDecl",
|
||||||
"offset" : 629,
|
|
||||||
"name" : "color_set",
|
"name" : "color_set",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstFieldDecl",
|
"@type" : "AstFieldDecl",
|
||||||
"offset" : 657,
|
|
||||||
"name" : "base",
|
"name" : "base",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFieldDecl",
|
"@type" : "AstFieldDecl",
|
||||||
"offset" : 679,
|
|
||||||
"name" : "hovered",
|
"name" : "hovered",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFieldDecl",
|
"@type" : "AstFieldDecl",
|
||||||
"offset" : 704,
|
|
||||||
"name" : "active",
|
"name" : "active",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 974,
|
|
||||||
"name" : "Knob",
|
"name" : "Knob",
|
||||||
"resultType" : "bool",
|
"resultType" : "bool",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 991,
|
|
||||||
"name" : "label",
|
"name" : "label",
|
||||||
"qualType" : "const char *",
|
"qualType" : "const char *",
|
||||||
"desugaredQualType" : "const char *"
|
"desugaredQualType" : "const char *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1005,
|
|
||||||
"name" : "p_value",
|
"name" : "p_value",
|
||||||
"qualType" : "float *",
|
"qualType" : "float *",
|
||||||
"desugaredQualType" : "float *"
|
"desugaredQualType" : "float *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1020,
|
|
||||||
"name" : "v_min",
|
"name" : "v_min",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float"
|
"desugaredQualType" : "float"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1033,
|
|
||||||
"name" : "v_max",
|
"name" : "v_max",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float"
|
"desugaredQualType" : "float"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1046,
|
|
||||||
"name" : "speed",
|
"name" : "speed",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float",
|
"desugaredQualType" : "float",
|
||||||
"defaultValue" : "0"
|
"defaultValue" : "0"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1069,
|
|
||||||
"name" : "format",
|
"name" : "format",
|
||||||
"qualType" : "const char *",
|
"qualType" : "const char *",
|
||||||
"desugaredQualType" : "const char *",
|
"desugaredQualType" : "const char *",
|
||||||
"defaultValue" : "NULL"
|
"defaultValue" : "NULL"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1101,
|
|
||||||
"name" : "variant",
|
"name" : "variant",
|
||||||
"qualType" : "ImGuiKnobVariant",
|
"qualType" : "ImGuiKnobVariant",
|
||||||
"desugaredQualType" : "int",
|
"desugaredQualType" : "int",
|
||||||
"defaultValue" : "ImGuiKnobVariant_Tick"
|
"defaultValue" : "ImGuiKnobVariant_Tick"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1140,
|
|
||||||
"name" : "size",
|
"name" : "size",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float",
|
"desugaredQualType" : "float",
|
||||||
"defaultValue" : "0"
|
"defaultValue" : "0"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1165,
|
|
||||||
"name" : "flags",
|
"name" : "flags",
|
||||||
"qualType" : "ImGuiKnobFlags",
|
"qualType" : "ImGuiKnobFlags",
|
||||||
"desugaredQualType" : "int",
|
"desugaredQualType" : "int",
|
||||||
"defaultValue" : "0"
|
"defaultValue" : "0"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1180,
|
|
||||||
"name" : "steps",
|
"name" : "steps",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int",
|
"desugaredQualType" : "int",
|
||||||
@@ -204,71 +175,60 @@
|
|||||||
} ]
|
} ]
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstFunctionDecl",
|
"@type" : "AstFunctionDecl",
|
||||||
"offset" : 1202,
|
|
||||||
"name" : "KnobInt",
|
"name" : "KnobInt",
|
||||||
"resultType" : "bool",
|
"resultType" : "bool",
|
||||||
"decls" : [ {
|
"decls" : [ {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1222,
|
|
||||||
"name" : "label",
|
"name" : "label",
|
||||||
"qualType" : "const char *",
|
"qualType" : "const char *",
|
||||||
"desugaredQualType" : "const char *"
|
"desugaredQualType" : "const char *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1234,
|
|
||||||
"name" : "p_value",
|
"name" : "p_value",
|
||||||
"qualType" : "int *",
|
"qualType" : "int *",
|
||||||
"desugaredQualType" : "int *"
|
"desugaredQualType" : "int *"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1247,
|
|
||||||
"name" : "v_min",
|
"name" : "v_min",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1258,
|
|
||||||
"name" : "v_max",
|
"name" : "v_max",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int"
|
"desugaredQualType" : "int"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1271,
|
|
||||||
"name" : "speed",
|
"name" : "speed",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float",
|
"desugaredQualType" : "float",
|
||||||
"defaultValue" : "0"
|
"defaultValue" : "0"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1294,
|
|
||||||
"name" : "format",
|
"name" : "format",
|
||||||
"qualType" : "const char *",
|
"qualType" : "const char *",
|
||||||
"desugaredQualType" : "const char *",
|
"desugaredQualType" : "const char *",
|
||||||
"defaultValue" : "NULL"
|
"defaultValue" : "NULL"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1326,
|
|
||||||
"name" : "variant",
|
"name" : "variant",
|
||||||
"qualType" : "ImGuiKnobVariant",
|
"qualType" : "ImGuiKnobVariant",
|
||||||
"desugaredQualType" : "int",
|
"desugaredQualType" : "int",
|
||||||
"defaultValue" : "ImGuiKnobVariant_Tick"
|
"defaultValue" : "ImGuiKnobVariant_Tick"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1365,
|
|
||||||
"name" : "size",
|
"name" : "size",
|
||||||
"qualType" : "float",
|
"qualType" : "float",
|
||||||
"desugaredQualType" : "float",
|
"desugaredQualType" : "float",
|
||||||
"defaultValue" : "0"
|
"defaultValue" : "0"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1390,
|
|
||||||
"name" : "flags",
|
"name" : "flags",
|
||||||
"qualType" : "ImGuiKnobFlags",
|
"qualType" : "ImGuiKnobFlags",
|
||||||
"desugaredQualType" : "int",
|
"desugaredQualType" : "int",
|
||||||
"defaultValue" : "0"
|
"defaultValue" : "0"
|
||||||
}, {
|
}, {
|
||||||
"@type" : "AstParmVarDecl",
|
"@type" : "AstParmVarDecl",
|
||||||
"offset" : 1405,
|
|
||||||
"name" : "steps",
|
"name" : "steps",
|
||||||
"qualType" : "int",
|
"qualType" : "int",
|
||||||
"desugaredQualType" : "int",
|
"desugaredQualType" : "int",
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user