Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d_a_obj_tumble_weed mostly done #88

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

elijah-thomas774
Copy link
Collaborator

@elijah-thomas774 elijah-thomas774 commented Nov 3, 2024

calcMatrix is a mess. Quatf stuff and I dont want to figure that out

calcTimer<u16> template weak func is out of order with state execute weak func: see #89

adjustSpeed has some small issues

float ordering is not the best

@elijah-thomas774
Copy link
Collaborator Author

this also removes d_t_tumble_weed's decr function. I opted to remove it due to it not being linked in anyway


dBgS::GetInstance()->GetTriPla(mObjAcch.mGnd, &pla);

f32 tmp2 = nw4r::math::CosIdx(ang) * 0.5f;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
f32 tmp2 = nw4r::math::CosIdx(ang) * 0.5f;
f32 t = 0.5f;
f32 tmp2 = ang.cos() * t;

works a bit better

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.

2 participants