|
Oolite
|
Go to the source code of this file.
Classes | |
| struct | Vector |
| struct | Vector2D |
Macros | |
| #define | vector_between(a, b) |
| #define | GLVertexOOVector(v) |
| #define | GLTranslateOOVector(v) |
Typedefs | |
| typedef struct Vector | Vector |
| typedef struct Vector2D | Vector2D |
Variables | |
| const Vector | kZeroVector |
| const Vector | kBasisXVector |
| const Vector | kBasisYVector |
| const Vector | kBasisZVector |
| const Vector2D | kZeroVector2D |
| const Vector2D | kBasisXVector2D |
| const Vector2D | kBasisYVector2D |
| #define GLTranslateOOVector | ( | v | ) |
Definition at line 141 of file OOVector.h.
| #define GLVertexOOVector | ( | v | ) |
| #define vector_between | ( | a, | |
| b ) |
Definition at line 74 of file OOVector.h.
Referenced by ShipEntity::behaviour_tractored:.
| typedef struct Vector Vector |
| typedef struct Vector2D Vector2D |
Definition at line 294 of file OOVector.h.
References OOINLINE, true_cross_product(), and vector_normal().
Referenced by ShipEntity::ballTrackLeadingTarget:atTarget:, calculateNormalForTriangle(), OOOpenGLMatrixManager::lookAtWithEye:center:up:, normal_to_surface(), OOMatrixForBillboard(), OOMatrixOrthogonalize(), ShipEntity(PureAI)::setPlanetPatrolCoordinates, and OOExhaustPlumeEntity::update:.
Definition at line 280 of file OOVector.h.
References magnitude(), OOINLINE, and vector_subtract().
Referenced by OOVisualEffectEntity(Private)::addSubEntity:, ShipEntity(Private)::addSubentityToCollisionRadius:, ShipEntity::behaviour_avoid_collision:, ShipEntity::behaviour_face_destination:, ShipEntity::behaviour_fly_from_destination:, ShipEntity::behaviour_fly_range_from_destination:, ShipEntity::behaviour_fly_to_destination:, ShipEntity::behaviour_fly_to_target_six:, ShipEntity::behaviour_formation_form_up:, ShipEntity::behaviour_intercept_target:, ShipEntity::behaviour_tractored:, OOTextureSprite::blitBackgroundCentredToX:Y:Z:alpha:, Universe::countEntitiesMatchingPredicate:parameter:inRange:ofEntity:, GuiDisplayGen(Internal)::drawStarChart:y:z:alpha:compact:, OOCommodities(OOPrivate)::economicBiasForGood:inEconomy:, Universe::findConnectedSystemAtCoords:withGalaxy:, Universe::findNeighbouringSystemToCoords:withGalaxy:, Universe::findSystemNumberAtCoords:withGalaxy:includingHidden:, WormholeEntity::initWormholeTo:fromShip:, PlayerEntity::leaveWitchspace, HeadUpDisplay::nonlinearScannerFunc, nonlinearScannerFunc(), Universe::routeFromSystem:toSystem:optimizedBy:, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, WormholeEntity::setMisjump, WormholeEntity::setMisjumpWithRange:, ShipFindNearestStation(), ShipFindNearestStation(), travelTimeBetweenPlanetPositions(), and PlayerEntity(OOPrivate)::witchJumpTo:misjump:.
Definition at line 275 of file OOVector.h.
References magnitude2(), OOINLINE, and vector_subtract().
Referenced by OOMesh(Private)::FaceArea.
Definition at line 299 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by ShipEntity::approachAspectToPrimaryTarget, ShipEntity::ballTrackLeadingTarget:atTarget:, ShipEntity::behaviour_fly_to_destination:, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, ShipEntity::canScoop:, ShipEntity::checkCloseCollisionWith:, DockEntity::clearDockingCorridor, ShipEntity::collideWithShip:, PlayerEntity::customViewPanDown:, PlayerEntity::customViewPanLeft:, PlayerEntity::customViewPanRight:, PlayerEntity::customViewPanUp:, ShipEntity::dealEnergyDamage:atRange:withBias:, WormholeEntity::disgorgeShips, ShipEntity::doesHitLine:v1:, PlayerEntity::doesHitLine:v1:hitEntity:, ShipEntity::doesHitLine:v1:hitEntity:, ShipEntity::doesHitLine:v1:withPosition:i:j:k:, HeadUpDisplay(Private)::drawDirectionCue:, ShipEntity::evasiveAction:, OOMesh::findBoundingBoxRelativeToPosition:ri:rj:rk:selfPosition:si:sj:sk:, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireSubentityLaserShot:, Universe::firstEntityTargetedByPlayer, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, OOMesh(Private)::generateFaceTangents, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, PlayerEntity::lookingAtSunWithThresholdAngleCos:, ShipEntity::lookingAtSunWithThresholdAngleCos:, ShipEntity::missileTrackPrimaryTarget:, ShipEntity::onTarget:withWeapon:, resolveVectorInIJK(), ShipEntity::rollToMatchUp:rotating:, PlayerEntity::setCustomViewDataFromDictionary:withScaling:, ShipEntity::setProximityAlert:, CollisionRegion::shadowAtPointOcclusionToValue, DockEntity::shipIsInDockingCorridor:, PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, PlayerEntity::takeScrapeDamage:from:, ShipEntity::trackDestination:retreat:, ShipEntity::trackPrimaryTarget:retreat:, ShipEntity::trackSideTarget:leftside:, triple_product(), and ShipEntity::update:.
Definition at line 242 of file OOVector.h.
References magnitude2(), and OOINLINE.
Referenced by ShipEntity::applyThrust:, ShipEntity::ballTrackLeadingTarget:atTarget:, ShipEntity::behaviour_attack_target:, Entity::cameraRangeBack, Entity::cameraRangeFront, PlayerEntity::customViewRollLeft:, PlayerEntity::customViewRollRight:, PlayerEntity::customViewRotateDown:, PlayerEntity::customViewRotateLeft:, PlayerEntity::customViewRotateRight:, PlayerEntity::customViewRotateUp:, PlayerEntity::customViewZoomIn:, PlayerEntity::customViewZoomOut:, ShipEntity::dealEnergyDamage:atRange:withBias:, ShipEntity::dealEnergyDamageWithinDesiredRange, distance(), Universe::drawUniverse, OOMesh(Private)::FaceAreaCorrect, HeadUpDisplay::hudDrawReticleOnTarget, HeadUpDisplay::hudDrawWaypoint, OOFlashEffectEntity(Private)::initWithPosition:size:color:duration:, DockEntity::launchShip:, ShipEntity::missileTrackPrimaryTarget:, HeadUpDisplay::nonlinearScannerScale:Zoom:Scale:, PlayerEntity(OOPrivate)::performInFlightUpdates:, PlayerEntity(OOControlsPrivate)::pollCustomViewControls, ShipEntity::rangeToSecondaryTarget:, Entity::speed, and ShipEntity::trackPrimaryTarget:retreat:.
Definition at line 237 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by ShipEntity::behaviour_land_on_planet:, OOMesh(Private)::calculateBoundingVolumes, ShipEntity::collideWithShip:, ShipEntity::dealMomentumWithinDesiredRange:, distance2(), StationEntity::dockingInstructionsForShip:, Universe::firstEntityTargetedByPlayer, OOExplosionCloudEntity(OOPrivate)::initExplosionCloudWithEntity:size:andSettings:, magnitude(), ShipEntity::onTarget:withWeapon:, OORandomUnitVector(), OOVectorRandomSpatial(), ShipEntity(PureAI)::scanForLoot, ShipEntity::trackDestination:retreat:, ShipEntity::trackOntoTarget:withDForward:, and vector_normal_or_fallback().
Definition at line 149 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by Universe::addShips:withRole:nearPosition:withCoordinateSystem:, Universe::addShips:withRole:nearPosition:withCoordinateSystem:withinRadius:, basis_vectors_from_quaternion(), ShipEntity::checkCloseCollisionWith:, DockEntity::clearDockingCorridor, ShipEntity::doesHitLine:v1:, PlayerEntity::doesHitLine:v1:hitEntity:, ShipEntity::doesHitLine:v1:hitEntity:, ShipEntity::doesHitLine:v1:withPosition:i:j:k:, HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay::drawIconForEmptyPylonAtX:y:width:height:alpha:, HeadUpDisplay::drawIconForMissile:selected:status:x:y:width:height:alpha:, OOLaserShotEntity::drawImmediate:translucent:, OOVisualEffectEntity::drawImmediate:translucent:, HeadUpDisplay(Private)::drawScanner:, OOTrumble::drawTrumble:, fillSquareImageWithPlanetTex(), Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, HeadUpDisplay::hudRotateViewpointForVirtualDepth, GuiDisplayGen::init, OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, Octree::isHitByLine, lineIntersectionWithFace(), OOMesh(Private)::loadData:scaleFactor:, NSPointToVectorJSValue(), NSPointToVectorJSValue(), Octree::offsetForOctant, OOPolygonSprite(OOHUDBeaconIcon)::oo_drawHUDBeaconIconAt:size:alpha:z:, OOMatrixGetBasisVectors(), OORandomUnitVector(), OOVectorInterpolate(), OOVectorMultiplyMatrix(), OOVectorRandomSpatial(), OOVectorTowards(), OOCrosshairs::render, PlanetEntity(OOPrivate)::scaleVertices, ScanVectorFromString(), PlayerEntity::setDefaultViewOffsets, DockEntity::setDimensionsAndCorridor:ddc:launching:, ShipEntity(PureAI)::setPlanetPatrolCoordinates, StationEntity::setUpShipFromDictionary:, SplitGeometryX(), SplitGeometryY(), SplitGeometryZ(), PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, PlayerEntity::takeScrapeDamage:from:, OOExhaustPlumeEntity::update:, ShipEntity::update:, Universe::update:, DustEntity::updateCameraRelativePosition, vector_forward_from_quaternion(), vector_right_from_quaternion(), and vector_up_from_quaternion().
Definition at line 158 of file OOVector.h.
References OOINLINE, Vector2D::x, and Vector2D::y.
Definition at line 309 of file OOVector.h.
References cross_product(), OOINLINE, and vector_subtract().
Referenced by OOMesh(Private)::checkNormalsAndAdjustWinding.
| Vector OORandomUnitVector | ( | void | ) |
Definition at line 76 of file OOVector.m.
References magnitude2(), make_vector(), randf(), and vector_normal().
Referenced by OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, and OOVectorRandomRadial().
Definition at line 204 of file OOVector.h.
References make_vector(), OOINLINE, OOLerp(), Vector::x, Vector::y, and Vector::z.
Definition at line 102 of file OOVector.m.
References OORandomUnitVector(), randf(), and vector_multiply_scalar().
Referenced by HeadUpDisplay(Private)::drawScanner:.
Definition at line 89 of file OOVector.m.
References magnitude2(), make_vector(), randf(), and vector_multiply_scalar().
Referenced by ShipEntity(PureAI)::setDestinationToJinkPosition.
Definition at line 211 of file OOVector.h.
References make_vector(), OOINLINE, Vector::x, Vector::y, and Vector::z.
Definition at line 166 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by ShipEntity::applyThrust:, PlayerEntity::customViewRollLeft:, PlayerEntity::customViewRollRight:, PlayerEntity::customViewRotateDown:, PlayerEntity::customViewRotateLeft:, PlayerEntity::customViewRotateRight:, PlayerEntity::customViewRotateUp:, PlayerEntity::customViewZoomIn:, PlayerEntity::customViewZoomOut:, HeadUpDisplay(Private)::drawScanner:, and PlayerEntity(OOControlsPrivate)::pollCustomViewControls.
Definition at line 304 of file OOVector.h.
References dot_product(), OOINLINE, and true_cross_product().
Definition at line 285 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by cross_product(), OOMesh(Private)::FaceAreaCorrect, and triple_product().
Definition at line 195 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by ShipEntity::addImpactMoment:fraction:, ShipEntity::adjustVelocity:, ShipEntity::ballTrackLeadingTarget:atTarget:, PlanetEntity::baseVertexIndexForEdge, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, PlayerEntity::customViewRollLeft:, PlayerEntity::customViewRollRight:, PlayerEntity::customViewRotateDown:, PlayerEntity::customViewRotateLeft:, PlayerEntity::customViewRotateRight:, PlayerEntity::customViewRotateUp:, PlayerEntity::customViewZoomIn:, PlayerEntity::customViewZoomOut:, HeadUpDisplay(Private)::drawScanner:, ShipEntity::dumpItem:, OOMesh::findSubentityBoundingBoxWithPosition:rotMatrix:, ShipEntity::fireMissileWithIdentifier:andTarget:, OOMesh(Private)::getNormal:andTangent:forVertex:inSmoothGroup:, Octree::isHitByOctree, ShipEntity::launchCascadeMine, PlayerEntity::launchEscapeCapsule, DockEntity::launchShip:, OOBoundingBoxCenter(), PlayerEntity(OOControlsPrivate)::pollCustomViewControls, PlayerEntity(Scripting)::processSceneString:atOffset:, Octree::randomFullNodeFrom, ShipEntity(PureAI)::setDestinationToJinkPosition, OOSkyDrawable(OOPrivate)::setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale:, OOSkyDrawable(OOPrivate)::setUpStarsWithColor1:color2:, OOExhaustPlumeEntity::update:, OOParticleSystem::update:, and ShipEntity::velocity.
Definition at line 232 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by OOMesh(Private)::checkNormalsAndAdjustWinding, OOMesh::findSubentityBoundingBoxWithPosition:rotMatrix:, ShipEntity::missileTrackPrimaryTarget:, OOTriangleIsDegenerate(), quaternion_rotation_between(), ShipEntity::trackDestination:retreat:, ShipEntity::trackPrimaryTarget:retreat:, ShipEntity::trackSideTarget:leftside:, ShipEntity::update:, and Verify_Vector().
Definition at line 227 of file OOVector.h.
References kZeroVector, OOINLINE, and vector_subtract().
Referenced by OOMesh(Private)::checkNormalsAndAdjustWinding, PlayerEntity::customViewRollLeft:, PlayerEntity::customViewRollRight:, PlayerEntity::customViewRotateDown:, PlayerEntity::customViewRotateLeft:, PlayerEntity::customViewRotateRight:, PlayerEntity::customViewRotateUp:, HeadUpDisplay(Private)::drawDirectionCue:, Universe::drawUniverse, Universe::getActiveViewMatrix:forwardVector:upVector:, Octree::isHitByOctree, PlayerEntity(OOControlsPrivate)::pollCustomViewControls, and DustEntity::update:.
Definition at line 180 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by ShipEntity::addImpactMoment:fraction:, ShipEntity::ballTrackLeadingTarget:atTarget:, StationEntity::beaconPosition, ShipEntity::becomeExplosion, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, ShipEntity::collideWithShip:, PlayerEntity::customViewPanDown:, PlayerEntity::customViewPanLeft:, PlayerEntity::customViewPanRight:, PlayerEntity::customViewPanUp:, PlayerEntity::customViewZoomIn:, PlayerEntity::customViewZoomOut:, WormholeEntity::disgorgeShips, OOParticleSystem::drawImmediate:translucent:, ShipEntity::dumpItem:, ShipEntity::fireDirectLaserShotAt:, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireMissileWithIdentifier:andTarget:, ShipEntity::fireSubentityLaserShot:, ShipEntity::fireTurretCannon:, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, OOMesh(Private)::generateFaceTangents, OOMesh(Private)::getNormal:andTangent:forVertex:inSmoothGroup:, ShipEntity::getWeaponOffsetFrom:withKey:inMode:, ShipEntity(PureAI)::getWitchspaceEntryCoordinates, OOExplosionCloudEntity(OOPrivate)::initExplosionCloudWithEntity:size:andSettings:, OOLaserShotEntity::initLaserFromShip:direction:offset:, OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, ShipEntity::launchCascadeMine, PlayerEntity::launchEscapeCapsule, PlayerEntity::launchMine:, DockEntity::launchShip:, PlayerEntity::leaveWitchspace, ShipEntity::missileLaunchPosition, HeadUpDisplay::nonlinearScannerScale:Zoom:Scale:, OOBoundingBoxCenter(), OOVectorRandomRadial(), OOVectorRandomSpatial(), PlayerEntity(OOPrivate)::performInFlightUpdates:, PlayerEntity(OOControlsPrivate)::pollCustomViewControls, PlayerEntity(Scripting)::processSceneString:atOffset:, OOExhaustPlumeEntity::rescaleBy:, OOMesh(Private)::rescaleByFactor:, PlayerEntity::setCustomViewDataFromDictionary:withScaling:, ShipEntity(PureAI)::setDestinationToJinkPosition, Universe::setUpBreakPattern:orientation:forDocking:, OOSkyDrawable(OOPrivate)::setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale:, PlayerEntity::setUpShipFromDictionary:, Universe::setUpSpace, OOSkyDrawable(OOPrivate)::setUpStarsWithColor1:color2:, Universe::spawnShipWithRole:near:, ShipEntity::throwSparks, ShipEntity::thrustVector, OOExhaustPlumeEntity::update:, OOParticleSystem::update:, ShipEntity::update:, vector_normal_or_fallback(), and DustEntity::warpVector.
Definition at line 270 of file OOVector.h.
References kZeroVector, OOINLINE, and vector_normal_or_fallback().
Referenced by ShipEntity::approachAspectToPrimaryTarget, PlanetEntity::baseVertexIndexForEdge, basis_vectors_from_quaternion(), ShipEntity::becomeExplosion, DockEntity::clearDockingCorridor, cross_product(), ShipEntity::dealEnergyDamage:atRange:withBias:, HeadUpDisplay(Private)::drawDirectionCue:, ShipEntity::dumpItem:, fillSquareImageWithPlanetTex(), ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireMissileWithIdentifier:andTarget:, ShipEntity::fireSubentityLaserShot:, OOMesh(Private)::generateFaceTangents, OOExplosionCloudEntity(OOPrivate)::initExplosionCloudWithEntity:size:andSettings:, OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, OOMesh(Private)::loadData:scaleFactor:, OOOpenGLMatrixManager::lookAtWithEye:center:up:, ShipEntity::missileTrackPrimaryTarget:, HeadUpDisplay::nonlinearScannerScale:Zoom:Scale:, OOMatrixForRotation(), OOMatrixOrthogonalize(), OORandomUnitVector(), PlayerEntity(OOControlsPrivate)::pollCustomViewControls, ShipEntity::trackDestination:retreat:, ShipEntity::trackOntoTarget:withDForward:, ShipEntity::trackPrimaryTarget:retreat:, ShipEntity::trackSideTarget:leftside:, vector_forward_from_quaternion(), vector_right_from_quaternion(), and vector_up_from_quaternion().
Definition at line 247 of file OOVector.h.
References EXPECT_NOT, magnitude2(), OOINLINE, and vector_multiply_scalar().
Referenced by ShipEntity::ballTrackLeadingTarget:atTarget:, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, HeadUpDisplay(Private)::drawCompass:, OOMesh(Private)::getNormal:andTangent:forVertex:inSmoothGroup:, OOMatrixForBillboard(), vector_normal(), vector_normal_or_xbasis(), vector_normal_or_ybasis(), and vector_normal_or_zbasis().
Definition at line 255 of file OOVector.h.
References kBasisXVector, OOINLINE, and vector_normal_or_fallback().
Referenced by CollisionRegion::shadowAtPointOcclusionToValue.
Definition at line 260 of file OOVector.h.
References kBasisYVector, OOINLINE, and vector_normal_or_fallback().
Definition at line 265 of file OOVector.h.
References kBasisZVector, OOINLINE, and vector_normal_or_fallback().
Referenced by ShipEntity::fireDirectLaserShotAt:, PlayerEntity::lookingAtSunWithThresholdAngleCos:, ShipEntity::lookingAtSunWithThresholdAngleCos:, ShipEntity::onTarget:withWeapon:, and CollisionRegion::shadowAtPointOcclusionToValue.
Definition at line 218 of file OOVector.h.
References OOINLINE, Vector::x, Vector::y, and Vector::z.
Referenced by ShipEntity::behaviour_attack_target:, calculateNormalForTriangle(), OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, ShipEntity::collideWithShip:, PlayerEntity::customViewPanDown:, PlayerEntity::customViewPanLeft:, PlayerEntity::customViewPanRight:, PlayerEntity::customViewPanUp:, PlayerEntity::customViewRollLeft:, PlayerEntity::customViewRollRight:, PlayerEntity::customViewRotateDown:, PlayerEntity::customViewRotateLeft:, PlayerEntity::customViewRotateRight:, PlayerEntity::customViewRotateUp:, PlayerEntity::customViewZoomIn:, PlayerEntity::customViewZoomOut:, ShipEntity::dealEnergyDamage:atRange:withBias:, distance(), distance2(), DustEntity::drawImmediate:translucent:, OOMesh(Private)::FaceAreaCorrect, OOMesh::findBoundingBoxRelativeToPosition:ri:rj:rk:selfPosition:si:sj:sk:, OOMesh(Private)::generateFaceTangents, Octree::isHitByOctree, PlayerEntity::launchMine:, OOOpenGLMatrixManager::lookAtWithEye:center:up:, normal_to_surface(), PlayerEntity(OOControlsPrivate)::pollCustomViewControls, PlayerEntity(Scripting)::processSceneString:atOffset:, PlayerEntity::setCustomViewDataFromDictionary:withScaling:, OOSkyDrawable(OOPrivate)::setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale:, OOSkyDrawable(OOPrivate)::setUpStarsWithColor1:color2:, and vector_flip().
| const Vector kBasisXVector |
Definition at line 45 of file OOVector.h.
Referenced by ShipEntity::absoluteIJKForSubentity, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, HeadUpDisplay(Private)::drawDirectionCue:, Universe::getActiveViewMatrix:forwardVector:upVector:, OOMesh(Private)::getNormal:andTangent:forVertex:inSmoothGroup:, OOMatrixForBillboard(), ShipEntity::setUpShipFromDictionary:, vector_normal_or_xbasis(), and Verify_Vector().
| const Vector2D kBasisXVector2D |
Definition at line 50 of file OOVector.h.
| const Vector kBasisYVector |
Definition at line 46 of file OOVector.h.
Referenced by ShipEntity::absoluteIJKForSubentity, Universe::drawUniverse, Universe::getActiveViewMatrix:forwardVector:upVector:, HeadUpDisplay::hudRotateViewpointForVirtualDepth, PlanetEntity::miniaturize, ShipEntity::setUpShipFromDictionary:, and vector_normal_or_ybasis().
| const Vector2D kBasisYVector2D |
Definition at line 51 of file OOVector.h.
| const Vector kBasisZVector |
Definition at line 47 of file OOVector.h.
Referenced by ShipEntity::absoluteIJKForSubentity, ShipEntity::ballTrackLeadingTarget:atTarget:, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, WormholeEntity::disgorgeShips, HeadUpDisplay(Private)::drawCompass:, HeadUpDisplay(Private)::drawDirectionCue:, Universe::drawUniverse, ShipEntity::dumpItem:, ShipEntity::fireDirectLaserShotAt:, Universe::getActiveViewMatrix:forwardVector:upVector:, OOMesh(Private)::getNormal:andTangent:forVertex:inSmoothGroup:, OOMatrixForBillboard(), quaternion_rotation_between(), ShipEntity::setUpShipFromDictionary:, Universe::spawnShip:, ShipEntity::trackPrimaryTarget:retreat:, and vector_normal_or_zbasis().
|
extern |
Definition at line 27 of file OOVector.m.
Referenced by ShipEntity::behaviour_attack_broadside:, ShipEntity::behaviour_attack_fly_from_target:, ShipEntity::behaviour_attack_target:, ShipEntity::behaviour_running_defense:, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, OOMesh(Private)::checkNormalsAndAdjustWinding, ShipEntity::collideWithShip:, HeadUpDisplay(Private)::drawDirectionCue:, OOECMBlastEntity::drawImmediate:translucent:, Universe::drawUniverse, PlayerEntity::engageAutopilotToStation:, ShipEntity::fireMissileWithIdentifier:andTarget:, Universe::firstEntityTargetedByPlayerPrecisely, PlayerEntity::getDestroyedBy:damageType:, OOMesh(Private)::getNormal:andTangent:forVertex:inSmoothGroup:, ShipEntity::getWeaponOffsetFrom:withKey:inMode:, HeadUpDisplay::hudRotateViewpointForVirtualDepth, OOMesh::init, OOSoundSource::init, Octree::isHitByLine:v1:, PlayerEntity::leaveDock:, PlayerEntity::leaveWitchspace, ShipEntity::missileTrackPrimaryTarget:, OOMatrixFromBasisVectors(), PlayerEntity(OOPrivate)::performInFlightUpdates:, PlayerShipSetCustomView(), PlayerShipSetCustomView(), StationEntity::portUpVectorForShip:, ShipEntity::positionOffsetForAlignment:, ShipEntity::positionOffsetForShipInRotationToAlignment, Octree::randomPoint, ShipEntity(Private)::refreshEscortPositions, OOExhaustPlumeEntity::resetPlume, PlayerEntity::setCustomViewDataFromDictionary:withScaling:, PlayerEntity::setDefaultViewOffsets, ShipEntity::setEvasiveJink:, PlayerEntity::setUpAndConfirmOK:saveGame:, OOVisualEffectEntity::setUpVisualEffectFromDictionary:, SystemSetPopulator(), SystemSetPopulator(), ShipEntity::trackDestination:retreat:, ShipEntity::trackPrimaryTarget:retreat:, ShipEntity::trackSideTarget:leftside:, ShipEntity::update:, OOShipRegistry(OODataLoader)::validateNewStyleFlasherDeclaration:forShip:fatalError:, OOShipRegistry(OODataLoader)::validateNewStyleStandardSubentityDeclaration:forShip:fatalError:, vector_flip(), vector_normal(), Verify_Vector(), PlayerEntity::viewpointOffset, PlayerEntity::weaponViewOffset, and ShipEntity::witchspaceLeavingEffects.
|
extern |
Definition at line 32 of file OOVector.m.