Jump to content

Common Data Types: Difference between revisions

m
Link RW data types where relevant.
(Remove RenderWare section (moved to RenderWare Data Types page).)
m (Link RW data types where relevant.)
 
Line 5:
= Numeric =
=== CGtV3d ===
A structure comprised of three floating-point component values (x, y, z), bundled into a single unsigned 128-bit value <code>mData</code>. See also <code>[[RenderWare Data Types#RwV3d|RwV3d]]</code>.
 
Often used to represent a point in 3D space.
Line 37:
= Geometric =
=== CGtPlane ===
A structure representing [https://en.wikipedia.org/wiki/Euclidean_planes_in_three-dimensional_space a flat 2D plane in 3D space]. Equivalent to <code>[[RenderWare Data Types#RwPlane|RwPlane]]</code>.
{| class="wikitable"
! Offset !! Length !! Type !! Description
|-
| 0x0 || 0x10 || [[#CGtV3d|CGtV3d]] || Normal
|-
| 0x0 || 0x10 || RwReal || Length
Line 51:
! Offset !! Length !! Type !! Description
|-
| 0x0 || 0x10 || [[#CGtV3d|CGtV3d]] || Position
|-
| 0x0 || 0x10 || RwReal || Radius
Line 81:
 
=== CGtAxisAlignedBox ===
Equivalent to <code>[[RenderWare Data Types#RwBBox|RwBBox]]</code>.
 
{| class="wikitable"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.