Skip to content

Documentation for perspective(...) is wrong in 0.9.6.3 #327

Closed
@Ident

Description

@Ident

it says:
"fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. "
it should probably be:
"fovy Specifies the field of view angle in the y direction. Expressed in radians. "

This change of the function btw. broke the rendering of our library (CEGUI) for versions >= 0.9.6, but we were able to fix this easily using a macro based on the glm version numbers - once we figured out what was the cause. Nevertheless, we are very very glad that now radians are used by default always here and in other places, the previously available option to choose between degrees and radians was potentially very problematic for users who might have used glm as well in their application and defined it differently than we would expect (changing it from the default).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions