mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
cleaning up viewer code (#101)
This commit is contained in:
1 parent
b40ec1e863
commit
74ec84117e
30 files changed
+829
-11362
No files matched your search
@@ -29,15 +29,13 @@ else:
|
||||
import umsgpack
|
||||
import numpy as np
|
||||
|
||||
from . import transformations as tf
|
||||
|
||||
|
||||
class SceneElement(object):
|
||||
def __init__(self):
|
||||
self.uuid = unicode(uuid.uuid1())
|
||||
|
||||
def intrinsic_transform(self):
|
||||
return tf.identity_matrix()
|
||||
return np.identity(4)
|
||||
|
||||
|
||||
class ReferenceSceneElement(SceneElement):
|
||||
|
||||
Reference in new issue
Block a user