Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
n7275 committed Jan 6, 2024
1 parent 64e92ac commit 20c0aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OVP/D3D7Client/VVessel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void vVessel::UpdateRenderVectors()
if (logscale) len = log(len + 1e-5) - log(1e-5); else len *= scale * 1e5;
AddVector(unit(F) * (len * pscale), _V(0, 0, 0), scale2 * 0.5, std::string(cbuf), _V(1, 0, 1), alpha, D3DRGB(1, 0, 1));
}
if ((flag & BFV_TOTAL) && vessel->GetSideForceVector(F)) {
if ((flag & BVF_SIDEFORCE) && vessel->GetSideForceVector(F)) {
sprintf(cbuf, "SF = %fN", len = length(F));
if (logscale) len = log(len + shift) - lshift; else len *= scale;
AddVector(unit(F) * (len * pscale), _V(0, 0, 0), scale2, std::string(cbuf), _V(0, 0, 1), alpha, D3DRGB(0.5, 0.0, 1.0));
Expand Down

0 comments on commit 20c0aa5

Please sign in to comment.