Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

787k Downloads

The method getBottom() is undefined for the type CubicOpenGlFrame

gawinwong opened this issue ยท 2 comments

commented

I wanna know how to get six direction of a frame, but when I turn to EquirectangularToRGBProcessor, just found that the method getBottom() is undefined for the type CubicOpenGlFrame, could someone tell me the implementation of rawFrame.getLeft() rawFrame.getRight() rawFrame.getFront() rawFrame.getBack() rawFrame.getTop() rawFrame.getBottom()

commented

They're automatically generated by Lombok.
Lombok is a compiler plugin (more of a hack really, it requires specific support for each compiler and an IDE plugin) which generates plain old getters/setters and a bunch of other stuff from annotations:

@Getter
private final OpenGlFrame left, right, front, back, top, bottom;

You're not the first one to be confused by that, so I think it's time to finally get rid of it. The benefits of not auto-generating the getters really doesn't outway the confusion and other issues it has caused.

commented