Skip to content

Instantly share code, notes, and snippets.

@bertt
Last active January 30, 2024 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bertt/49c3d6d9c543cd2bda5eb3a185c57c9f to your computer and use it in GitHub Desktop.
Save bertt/49c3d6d9c543cd2bda5eb3a185c57c9f to your computer and use it in GitHub Desktop.
scalar values
[3dtiles] type / componentType -> [.net] -> [postgres]
boolean / - -> bool -> boolean
scalar / uint8 -> byte -> -
scalar / int8 -> sbyte -> -
scalar / int16 -> short -> smallint
scalar / uint16 -> ushort -> -
scalar / int32 -> int -> integer
scalar / uint32 -> uint -> -
scalar / int64 -> long -> bigint
scalar / uint64 -> ulong -> -
scalar / float32 -> float (single) -> real
scalar / float32 -> decimal -> numeric
scalar / float64 -> double -> 'double precision'
vec3 / float32 -> vector3 -> numeric[] of length 3
mat4 / float32-> matrix4x4 -> numeric[] of length 16
string -> string -> varchar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment