mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
formatting
This commit is contained in:
parent
7154857323
commit
ac16b14a92
@ -1 +1 @@
|
||||
from _quicktex import *
|
||||
from _quicktex import *
|
||||
|
@ -2,4 +2,4 @@
|
||||
The s3tc module provides encoders and decoders for the common S3 Texture Compression formats. BC1-5 encoding is done
|
||||
internally using a modified version of rgbcx.h.
|
||||
"""
|
||||
from _quicktex._s3tc import *
|
||||
from _quicktex._s3tc import *
|
||||
|
@ -1,3 +1,3 @@
|
||||
"""Classes for encoding/decoding BC1 textures"""
|
||||
|
||||
from _quicktex._s3tc._bc1 import *
|
||||
from _quicktex._s3tc._bc1 import *
|
||||
|
@ -1 +1 @@
|
||||
from _quicktex._s3tc._bc3 import *
|
||||
from _quicktex._s3tc._bc3 import *
|
||||
|
@ -1 +1 @@
|
||||
from _quicktex._s3tc._bc4 import *
|
||||
from _quicktex._s3tc._bc4 import *
|
||||
|
@ -1 +1 @@
|
||||
from _quicktex._s3tc._bc5 import *
|
||||
from _quicktex._s3tc._bc5 import *
|
||||
|
@ -1,3 +1,3 @@
|
||||
"""Classes representing various methods of interpolating BC1-3 blocks"""
|
||||
|
||||
from _quicktex._s3tc._interpolator import *
|
||||
from _quicktex._s3tc._interpolator import *
|
||||
|
@ -139,6 +139,7 @@ class TestBC4Texture(unittest.TestCase):
|
||||
|
||||
class TestBC4Encoder(unittest.TestCase):
|
||||
"""Test BC4Encoder"""
|
||||
|
||||
# 6-value blocks are not yet supported by the encoder so we only run one test
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
@ -180,4 +181,3 @@ class TestBC4Decoder(unittest.TestCase):
|
||||
img_hist = img_diff.histogram()
|
||||
|
||||
self.assertEqual(16, img_hist[0], 'decoded block is incorrect')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user