Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121669389
camera.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 13, 00:08
Size
328 B
Mime Type
text/x-c
Expires
Tue, Jul 15, 00:08 (2 d)
Engine
blob
Format
Raw Data
Handle
27371206
Attached To
rSYMKIT symkit
camera.cpp
View Options
#include "camera.h"
#include "svector.h"
void
Camera
::
moveCamera
(
const
SVector
<
3
>&
position
){
this
->
position
=
position
;
}
void
Camera
::
moveView
(
const
SVector
<
3
>&
lookat
){
this
->
lookat
=
lookat
;
}
SVector
<
3
>
Camera
::
getPosition
()
const
{
return
position
;
}
SVector
<
3
>
Camera
::
getLookat
()
const
{
return
lookat
;
}
Event Timeline
Log In to Comment