]> isoptera.lcsc.edu Git - engine26/.git/commitdiff
Minor bugfix
authorSeth Long <sslong@lcsc.edu>
Thu, 22 Oct 2026 17:21:02 +0000 (10:21 -0700)
committerSeth Long <sslong@lcsc.edu>
Thu, 22 Oct 2026 17:21:02 +0000 (10:21 -0700)
projectile.h

index 7e03a83e622ecec7ec460c7000b142f39eec4f18..fb157c684114de19b86b5c8d37f6b59a9b4eb2b6 100644 (file)
@@ -41,7 +41,7 @@ public:
                        return other;
                return cmpos - normalize(cmpos - other);
        }
-       vec3 inside_instance(vec3 other, size_t instance) {
+       bool inside_instance(vec3 other, size_t instance) {
                vec3 cmpos = get_center(instance);
                if(distance(cmpos, other) < 1) // Contains sqrt
                        return true;