This website works better with JavaScript.
Explore
Help
Sign In
ic
/
magnum
mirror of
https://github.com/mosra/magnum.git
Watch
6
Star
0
Fork
You've already forked magnum
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9859
Commits
21
Branches
19
Tags
70 MiB
Tree:
1137b56c25
apple-crashy-msaa-default-framebuffer
audio-import
catastrophic-cross
chainsaw-surgery
dpi-change-events
euler-xxx
findsdl-include-root
gltestlib-symbol-duplication
gpu-preference
inverted-ranges
ktx1-detection
master
meshdata-cereal-killer
mousecapture
multiwindow
next
sceneconverter
scenedata-optimizations
simd
vectorfields
zerocopy
snapshot-2013-08
snapshot-2013-10
snapshot-2014-01
snapshot-2014-01-compatibility
snapshot-2014-06
snapshot-2014-06-compatibility
snapshot-2015-05
snapshot-2015-05-compatibility
v2013.08
v2013.10
v2014.01
v2014.06
v2015.05
v2018.02
v2018.04
v2018.10
v2019.01
v2019.10
v2020.06
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '1137b56c25'
${ noResults }
magnum
/
src
/
Magnum
/
SceneTools
/
Test
/
SceneConverterTestFiles
/
quad.obj
11 lines
92 B
Raw
Normal View
History
Unescape
Escape
sceneconverter: fully cover with tests. I'm going to add quite a few features to this one, and doing that without any regression tests whatsoever would be a misery. Same needs to eventually be done for the imageconverter and other utils. No bugs found here, fortunately, except for one message update -- otherwise the verbose output would contain (1/2) but never (2/2) which may be confusing. At the moment the testing is done only on Unix -- originally I wanted to postpone this until something like Utility::System::execute() is implemented, with proper argument escaping and output redirection, but I simply DO NOT HAVE TIME to do that properly now. So instead it's calling into std::system(), assumes there is no whitespace in the arguments, and assumes a Unix shell with stdout/stderr redirection to a file. Ugly and probably way slower than necessary, but works.
4 years ago
# 1 1--4
# |\ \ |
# | \ \|
# 2--3 3
v -1 1 0
v -1 -1 0
v 1 -1 0
v 1 1 0
f 1 2 3
f 1 3 4