* regenerate Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes and cleanup Signed-off-by: Jess Frazelle <github@jessfraz.com> * I have generated the latest API! --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
19 lines
426 B
Python
19 lines
426 B
Python
from enum import Enum
|
|
|
|
|
|
class Axis(str, Enum):
|
|
"""Co-ordinate axis specifier.
|
|
|
|
See [cglearn.eu] for background reading.
|
|
|
|
[cglearn.eu]: https://cglearn.eu/pub/computer-graphics/introduction-to-geometry#material-coordinate-systems-1
|
|
""" # noqa: E501
|
|
|
|
"""# 'Y' axis. """ # noqa: E501
|
|
Y = "y"
|
|
"""# 'Z' axis. """ # noqa: E501
|
|
Z = "z"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|