Skip to content

refactor of dumb_rotation to intrinsic_rotation#531

Merged
MageKing17 merged 1 commit into
scp-fs2open:masterfrom
Goober5000:intrinsic_rotation_refactor
Feb 5, 2016
Merged

refactor of dumb_rotation to intrinsic_rotation#531
MageKing17 merged 1 commit into
scp-fs2open:masterfrom
Goober5000:intrinsic_rotation_refactor

Conversation

@Goober5000

Copy link
Copy Markdown
Contributor

This is a renaming of the Dumb_rotation infrastructure, which is now called Intrinsic_rotation. Intrinsic rotations are automatically applied to submodels without the need for an associated subsystem. Dumb rotations are now a type of intrinsic rotation, and look_at rotations will be added in a future PR. The same code will handle both; the only difference is in how the intrinsic rotation is calculated. (In the case of dumb-rotation, it is calculated the same way as normal rotation; in the case of look-at, it will be calculated using submodel_look_at.)

This PR was created at @asarium's request in the comments on #530.

This is a renaming of the Dumb_rotation infrastructure, which is now called Intrinsic_rotation.  Intrinsic rotations are automatically applied to submodels without the need for an associated subsystem.  Dumb rotations are now a type of intrinsic rotation, and look_at rotations will be added in a future PR.  The same code will handle both; the only difference is in how the intrinsic rotation is calculated.  (In the case of dumb-rotation, it is calculated the same way as normal rotation; in the case of look-at, it will be calculated using submodel_look_at.)
@asarium

asarium commented Feb 5, 2016

Copy link
Copy Markdown
Member

Code looks good and a quick test run also didn't show anything out of the ordinary. If Appveyor finishes successfully this is good to be merged.

MageKing17 added a commit that referenced this pull request Feb 5, 2016
refactor of dumb_rotation to intrinsic_rotation
@MageKing17 MageKing17 merged commit 4e9f5dc into scp-fs2open:master Feb 5, 2016
@Goober5000 Goober5000 deleted the intrinsic_rotation_refactor branch February 5, 2016 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants