tall-teacher-57409
05/15/2023, 10:32 AMtall-teacher-57409
05/15/2023, 10:33 AMhallowed-ocean-84954
05/15/2023, 1:09 PMtall-teacher-57409
05/15/2023, 7:28 PMhttps://cdn.discordapp.com/attachments/769686258049351722/1107751316954026088/Peek_2023-05-15_21-27.gif▾
tall-teacher-57409
05/16/2023, 3:43 AMhttps://cdn.discordapp.com/attachments/769686258049351722/1107876054686761031/Peek_2023-05-16_05-42.gif▾
tall-teacher-57409
05/16/2023, 5:09 AMhx
public override function onMouseWheel(deltaX:Float, deltaY:Float, deltaMode:MouseWheelMode) {
fov -= deltaY;
if (fov > 45.0) {
fov = 45.0;
}
if (fov < 1.0) {
fov = 1.0;
}
}
and im setting it here
hx
createPerspectiveZO(proj, fov * Math.PI / 180, Application.current.window.width / Application.current.window.height, 0.1, 100.0);
but moving the mouse wheel doesn't have any visual effecttall-teacher-57409
05/16/2023, 5:11 AMhttps://cdn.discordapp.com/attachments/769686258049351722/1107897994885480539/image.png▾
tall-teacher-57409
05/16/2023, 5:13 AMhttps://cdn.discordapp.com/attachments/769686258049351722/1107898659099660348/image.png▾
hallowed-ocean-84954
05/16/2023, 10:50 PMmodern-quill-15664
05/17/2023, 3:01 PMtall-teacher-57409
05/17/2023, 3:05 PMmodern-quill-15664
05/18/2023, 10:28 AMtall-teacher-57409
05/19/2023, 7:07 PMtall-teacher-57409
05/19/2023, 7:07 PMtall-teacher-57409
05/19/2023, 7:08 PMhallowed-ocean-84954
05/19/2023, 7:39 PMclever-airline-85054
05/19/2023, 9:13 PMclever-airline-85054
05/19/2023, 9:29 PMclever-airline-85054
05/19/2023, 9:29 PMtall-teacher-57409
05/21/2023, 7:15 AMtall-teacher-57409
05/21/2023, 7:18 AMhallowed-ocean-84954
05/21/2023, 2:04 PMtall-teacher-57409
05/21/2023, 2:07 PMable-action-74275
05/21/2023, 2:19 PMtall-teacher-57409
05/21/2023, 2:24 PMtall-teacher-57409
05/21/2023, 2:35 PMable-action-74275
05/21/2023, 2:39 PMtall-teacher-57409
05/21/2023, 2:41 PM