Fixed a few small things.
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
|
||||
<item ref="eth" prefab="prefabs/EthPrefab" />
|
||||
|
||||
<!-- <item lookAt="0, 0, 5, 0, 0, 0" > -->
|
||||
<item lookAt="5, 5, 5, 0, 0, 0" >
|
||||
<!-- <Camera ref="camera" type="CAMERA_TYPE_ORTHONOGRAPHIC" /> -->
|
||||
<Camera ref="camera" />
|
||||
<item lookAt="0, 0, 5, 0, 0, 0" >
|
||||
<!-- <item lookAt="5, 5, 5, 0, 0, 0" > -->
|
||||
<Camera ref="camera" type="CAMERA_TYPE_ORTHONOGRAPHIC" />
|
||||
<!-- <Camera ref="camera" /> -->
|
||||
<CameraTexture ref="camTexture" />
|
||||
</item>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</item>
|
||||
|
||||
<code type="init">
|
||||
useEvent([&]{
|
||||
useEvent([&]{
|
||||
assertNotNull(camTexture);
|
||||
assertNotNull(image);
|
||||
camTexture->renderTarget.setSize(image->getWidth(), image->getHeight());
|
||||
|
Reference in New Issue
Block a user