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

影をつけるとブツブツする。 #17

Open
kotto5 opened this issue Apr 29, 2023 · 0 comments
Open

影をつけるとブツブツする。 #17

kotto5 opened this issue Apr 29, 2023 · 0 comments

Comments

@kotto5
Copy link
Owner

kotto5 commented Apr 29, 2023

治ったけど、対処法の原理がわからない。

lighting.distance += 1.0 / 32; // これで弾くのって instance == info->obj のケースじゃないの?
node = obj_list;
while (node)
{
	instance = node->content;
	if (instance == info->obj)
	{
		node = node->next;
		continue ;
	}

if (instance == info->obj)と、 lighting.distance += 1.0 / 32;
どちらもないとブツブツは消えない。同じケースを弾いていると思うのだが、、

kotto5 pushed a commit that referenced this issue Apr 29, 2023
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

No branches or pull requests

1 participant