runelite-api: Optimize getClickbox

- Use the pre-calculated center/extreme xyz fields for the aabb
 - use modelToCanvas and reduce indirection
 - Use a specialized union that only does axis-aligned rectangles
     instead of the Area class
 - Use a specialized intersection that only does convex polygons, again
     to avoid Area
This commit is contained in:
Max Weber
2019-09-09 10:46:42 -06:00
parent 80709f1bfa
commit f16cd53d09
5 changed files with 688 additions and 218 deletions

View File

@@ -57,5 +57,11 @@
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.12</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>