Skip to navigation

Lander on the Acorn Archimedes

3D objects: objectPyramid

Name: objectPyramid [Show more] Type: Variable Category: 3D objects Summary: Object blueprint for a pyramid Deep dive: Object blueprints
Context: See this variable in context in the source code References: This variable is used as follows: * objectTypes uses objectPyramid
.objectPyramid EQUD 5 \ Number of vertices EQUD 6 \ Number of faces EQUD objectPyramidFaces - objectPyramid EQUD %00000001 \ Flags: Bit 0 = 1 = object rotates \ Bit 1 = 0 = object has no shadow .objectPyramidVertices \ xObject, yObject, zObject EQUD &00000000, &01000000, &00000000 \ Vertex 0 EQUD &00C00000, &FF800000, &00C00000 \ Vertex 1 EQUD &FF400000, &FF800000, &00C00000 \ Vertex 2 EQUD &00C00000, &FF800000, &FF400000 \ Vertex 3 EQUD &FF400000, &FF800000, &FF400000 \ Vertex 4 .objectPyramidFaces \ xNormal, yNormal, zNormal, vertex1, vertex2, vertex3, colour EQUD &00000000, &35AA66D2, &6B54CDA5, 0, 1, 2, &800 \ 0 EQUD &6B54CDA5, &35AA66D2, &00000000, 0, 3, 1, &088 \ 1 EQUD &00000000, &35AA66D2, &94AB325B, 0, 4, 3, &880 \ 2 EQUD &94AB325B, &35AA66D2, &00000000, 0, 2, 4, &808 \ 3 EQUD &00000000, &88000000, &00000000, 1, 2, 3, &444 \ 4 EQUD &00000000, &88000000, &00000000, 2, 3, 4, &008 \ 5