Skip to navigation

Revs on the BBC Micro

3D objects: objectRight

Name: objectRight [Show more] Type: Variable Category: 3D objects Summary: Scaffold measurements for the right of each object part Deep dive: Object definitions Scaling objects with scaffolds
Context: See this variable in context in the source code References: This variable is used as follows: * DrawObjectEdges calls objectRight

Entries contain indexes into the scaledScaffold table. n + 8 points to the negative value of n (as scaledScaffold+8 is filled with the negative of scaledScaffold).
.objectRight EQUB 2 + 8 \ Object 0, Part 0: Scaffolds: (-7, -6, -1, -2) \ Coordinates: (-4, -5, -22, -18) EQUB 1 \ Object 0, Part 1: Scaffolds: (-7, -6, 2, 1) \ Coordinates: (-4, -5, 18, 22) EQUB 4 + 8 \ Object 0, Part 2: Scaffolds: (-6, -3, -0, -4) \ Coordinates: (-5, -17, -24, -16) EQUB 0 \ Object 0, Part 3: Scaffolds: (-6, -3, 4, 0) \ Coordinates: (-5, -17, 16, 24) EQUB 2 \ Object 0, Part 4: Scaffolds: (-5, -3, -2, 2) \ Coordinates: (-8, -17, -18, 18) EQUB 5 \ Object 1, Part 0: Scaffolds: (5, 6, -5, 5) \ Coordinates: (5, 2, -5, 5) EQUB 3 \ Object 1, Part 1: Scaffolds: (6, -7, -3, 3) \ Coordinates: (2, -1, -8, 8) EQUB 1 \ Object 1, Part 2: Scaffolds: (-7, -5, -1, 1) \ Coordinates: (-1, -5, -12, 12) EQUB 6 \ Object 1, Part 3: Scaffolds: (4, 5, -6, 6) \ Coordinates: (6, 5, -2, 2) EQUB 4 + 8 \ Object 2, Part 0: Scaffolds: (-6, -5, -0, -4) \ Coordinates: (-3, -5, -26, -16) EQUB 1 + 8 \ Extra edges: Scaffolds: 0, 4 \ Coordinates: 26, 16 EQUB 0 \ Object 2, Part 2: Scaffolds: (-5, -3, -0, 0) \ Coordinates: (-5, -17, -26, 26) EQUB 2 + 8 \ Object 2, Part 3: Scaffolds: (-7, -6, -1, -2) \ Coordinates: (-2, -3, -24, -18) EQUB 1 \ Object 2, Part 4: Scaffolds: (-7, -6, 2, 1) \ Coordinates: (-2, -3, 18, 24) EQUB 0 \ Object 3, Part 0: Scaffolds: (2, 3, -0, 0) \ Coordinates: (6, 4, -16, 16) EQUB 0 \ Object 3, Part 1: Scaffolds: (3, 4, -0, 0) \ Coordinates: (4, 3, -16, 16) EQUB 5 \ Object 3, Part 2: Scaffolds: (4, -1, -5, 5) \ Coordinates: (3, -10, -1, 1) EQUB 5 \ Object 3, Part 3: Scaffolds: (-1, -0, -5, 5) \ Coordinates: (-10, -16, -1, 1) EQUB 4 \ Object 4, Part 0: Scaffolds: (6, -7, -4, 4) \ Coordinates: (3, -1, -6, 6) EQUB 3 \ Object 4, Part 1: Scaffolds: (-7, -5, -3, 3) \ Coordinates: (-1, -5, -12, 12) EQUB 2 + 8 \ Object 4, Part 2: Scaffolds: (-6, -5, -0, -2) \ Coordinates: (-3, -5, -26, -16) EQUB 1 + 8 \ Extra edges: Scaffolds: 0, 4 \ Coordinates: 26, 16 EQUB 0 \ Object 4, Part 4: Scaffolds: (-5, -1, -0, 0) \ Coordinates: (-5, -17, -26, 26) EQUB 7 \ Object 4, Part 5: Scaffolds: (7, -5, -7, 7) \ Coordinates: (1, -5, -1, 1) EQUB 2 \ Object 4, Part 6: Scaffolds: (4, 6, -2, 2) \ Coordinates: (6, 3, -16, 16) EQUB 0 \ Object 5, Part 0: Scaffolds: (-2, -1, -0, 0) \ Coordinates: (-3, -17, -26, 26) EQUB 1 \ Object 6, Part 0: Scaffolds: (0, 2, -1, 1) \ Coordinates: (16, 1, -10, 10) EQUB 0 \ Object 7, Part 0: Scaffolds: (1, -4, -0, 0) \ Coordinates: (20, -8, -28, 28) EQUB 3 + 8 \ Object 7, Part 1: Scaffolds: (-4, -2, -1, -3) \ Coordinates: (-8, -18, -20, -16) EQUB 1 \ Object 7, Part 2: Scaffolds: (-4, -2, 3, 1) \ Coordinates: (-8, -18, 16, 20) EQUB 3 \ Object 8, Part 0: Scaffolds: (2, -0, -3, 3) \ Coordinates: (3, -18, -2, 2) EQUB 1 \ Object 8, Part 1: Scaffolds: (1, 2, -3, 1) \ Coordinates: (16, 3, -2, 16) EQUB 0 \ Object 9, Part 0: Scaffolds: (1, -2, -0, 0) \ Coordinates: (12, -10, -16, 16) EQUB 3 \ Object 9, Part 1: Scaffolds: (-2, -0, -3, 3) \ Coordinates: (-10, -16, -3, 3) EQUB 0 \ Object 10, Part 0: Scaffolds: (3, 4, -0, 0) \ Coordinates: (4, 1, -10, 10) EQUB 1 + 8 \ Object 10, Part 1: Scaffolds: (4, -2, -0, -1) \ Coordinates: (1, -6, -10, -9) EQUB 0 \ Object 10, Part 2: Scaffolds: (0, 3, 1, 0) \ Coordinates: (10, 4, 9, 10) EQUB 1 \ Object 11, Part 0: Scaffolds: (1, 3, -0, 1) \ Coordinates: (8, 5, -10, 8) EQUB 1 + 8 \ Object 11, Part 1: Scaffolds: (3, -2, -0, -1) \ Coordinates: (5, -6, -10, -8) EQUB 0 \ Object 12, Part 0: Scaffolds: (1, 3, -1, 0) \ Coordinates: (8, 5, -8, 10) EQUB 0 \ Object 12, Part 1: Scaffolds: (3, -2, 1, 0) \ Coordinates: (5, -6, 8, 10)